Skip to content

Commit

Permalink
Fix release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryscan committed Sep 10, 2024
1 parent 464d65e commit 26df11c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,11 @@ jobs:
- name: Build (MacOS)
if: matrix.build == 'macos'
run: cargo build --release --workspace
- name: Build for macOS ARM64
- name: Build (MacOS ARM64)
if: matrix.build == 'macos_arm64'
run: |
rustup target add ${{ env.MACOS_ARM64_TARGET }}
cargo build --release --target=${{ env.MACOS_ARM64_TARGET }} --workspace
cargo build --release --workspace --target ${{ env.MACOS_ARM64_TARGET }}
- name: Build (Windows)
if: matrix.build == 'windows'
run: cargo build --release --workspace
Expand Down Expand Up @@ -125,7 +123,7 @@ jobs:
run: |
for bin in ${{ env.RELEASE_BINS }}
do
mv ./target/release/${bin} ./dist/${bin}
mv ./target/release/${{ env.MACOS_TARGET }}/${bin} ./dist/${bin}
done
mv ${{ env.RELEASE_ADDS }} ./dist
7z a -tzip ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS_ARM64_TARGET }}.zip ./dist
Expand Down

0 comments on commit 26df11c

Please sign in to comment.