Skip to content

Commit

Permalink
Try use zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Aug 19, 2023
1 parent e8a2795 commit 603d69b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@ jobs:
- name: Install dependencies and build
run: yarn --frozen-lockfile
- name: Tar files
run: tar -cvf build-artifacts.tar ${{ github.workspace }}
run: zip build-artifacts ${{ github.workspace }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: build-artifacts.tar
path: build-artifacts.zip

lint:
needs: build2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: build-artifacts
- name: Extract archive
run: tar -xvf build-artifacts.tar
run: zip -r build-artifacts.zip .
- name: Display structure of downloaded files
run: ls -R
- name: Use Node.js 18.x
Expand All @@ -54,13 +55,12 @@ jobs:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: build-artifacts
- name: Extract archive
run: tar -xvf build-artifacts.tar
- name: Display structure of downloaded files
run: ls -R
run: zip -r build-artifacts.zip .
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: Unit tests
Expand Down

0 comments on commit 603d69b

Please sign in to comment.