Skip to content

Commit

Permalink
Create target archive.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Jan 24, 2024
1 parent b25fdb6 commit 0178af1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0178af1

Please sign in to comment.