diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 713733ef24..e2f0b406a1 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -48,11 +48,13 @@ jobs: run: cargo check --all --no-default-features --profile pr-tests - name: Build run: cargo build --all-targets --all --all-features --profile pr-tests + - name: Create artifact archive + run: tar czf target.tar.gz target - name: Upload build artifacts uses: actions/upload-artifact@v2 with: name: build-artifacts - path: target + path: target.tar.gz - name: ⚡ Save rust cache if: github.ref == 'refs/heads/main' uses: actions/cache/save@v3 @@ -75,6 +77,8 @@ jobs: uses: actions/download-artifact@v2 with: name: build-artifacts + - name: Extract artifact archive + run: tar xzf target.tar.gz - name: ⚡ Cache nodejs uses: actions/cache@v3 with: @@ -107,6 +111,8 @@ jobs: uses: actions/download-artifact@v2 with: name: build-artifacts + - name: Extract artifact archive + run: tar xzf target.tar.gz - name: ⚡ Cache nodejs uses: actions/cache@v3 with: