Skip to content

Commit

Permalink
tweak caches
Browse files Browse the repository at this point in the history
  • Loading branch information
asg0451 committed Apr 15, 2024
1 parent cd634aa commit 397ca85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- run: cargo install cross
- uses: Swatinem/rust-cache@v2
with:
key: "release-forwarder-bin-linux"
key: "release-forwarder-bin-linux-windows-cross"
- name: Build forwarder release
run: cross build --release --target x86_64-pc-windows-gnu --bin forwarder
- run: mv target/x86_64-pc-windows-gnu/release/forwarder.exe target/x86_64-pc-windows-gnu/release/forwarder-windows.exe
Expand All @@ -52,7 +52,7 @@ jobs:
- run: rustup toolchain install stable --profile minimal --target x86_64-apple-darwin
- uses: Swatinem/rust-cache@v2
with:
key: "release-forwarder-bin-macos"
key: "release-forwarder-bin-macos-x86"
- name: Build forwarder release
run: cargo build --release --target x86_64-apple-darwin --bin forwarder
- run: mv target/x86_64-apple-darwin/release/forwarder target/x86_64-apple-darwin/release/forwarder-macos-x86
Expand All @@ -68,7 +68,7 @@ jobs:
- run: rustup toolchain install stable --profile minimal --target aarch64-apple-darwin
- uses: Swatinem/rust-cache@v2
with:
key: "release-forwarder-bin-macos"
key: "release-forwarder-bin-macos-arm"
- name: Build forwarder release
run: cargo build --release --target aarch64-apple-darwin --bin forwarder
- run: mv target/aarch64-apple-darwin/release/forwarder target/aarch64-apple-darwin/release/forwarder-macos-arm
Expand Down

0 comments on commit 397ca85

Please sign in to comment.