Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmmjackson committed Sep 17, 2023
1 parent 5a436ac commit 456db63
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
with:
command: build
args: --release
- uses: actions/cache@v3
- uses: actions/upload-artifact@v3
with:
path: target/aarch64-apple-darwin
key: build
name: mac-m1
path: target/
build-mac-x86:
runs-on: macos-latest
steps:
Expand All @@ -34,10 +34,10 @@ jobs:
with:
command: build
args: --release
- uses: actions/cache@v3
- uses: actions/upload-artifact@v3
with:
path: target/x86_64-apple-darwin
key: build
name: mac-x86
path: target/
build-linux-aarch64:
runs-on: ubuntu-latest
steps:
Expand All @@ -51,10 +51,10 @@ jobs:
with:
command: build
args: --release
- uses: actions/cache@v3
- uses: actions/upload-artifact@v3
with:
path: target/aarch64-unknown-linux-gnu
key: build
name: linux-arm64
path: target/
build-linux-x86_64:
runs-on: ubuntu-latest
steps:
Expand All @@ -68,10 +68,10 @@ jobs:
with:
command: build
args: --release
- uses: actions/cache@v3
- uses: actions/upload-artifact@v3
with:
path: target/x86_64-unknown-linux-gnu
key: build
name: linux-x86
path: target/
build-windows-x86_64:
runs-on: windows-latest
steps:
Expand All @@ -85,10 +85,10 @@ jobs:
with:
command: build
args: --release
- uses: actions/cache@v3
- uses: actions/upload-artifact@v3
with:
path: target/x86_64-pc-windows-msvc
key: build
name: windows-x86
path: target/
build-windows-aarch64:
runs-on: windows-latest
steps:
Expand All @@ -102,10 +102,10 @@ jobs:
with:
command: build
args: --release
- uses: actions/cache@v3
- uses: actions/upload-artifact@v3
with:
path: target/aarch64-pc-windows-msvc
key: build
name: windows-arm
path: target/
archive:
runs-on: ubuntu-latest
needs:
Expand All @@ -117,9 +117,10 @@ jobs:
- build-windows-aarch64
steps:
- uses: actions/checkout@v2
- uses: actions/cache/restore@v3
with:
key: build
path: target
- uses: actions/download-artifact@v3
- uses: extractions/setup-just@v1
- uses: actions-rs/cargo@v1
with:
command: install
args: toml-cli
- run: just archive-all do-release-package

0 comments on commit 456db63

Please sign in to comment.