Skip to content

Commit

Permalink
Fix static binary builds in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Oct 21, 2024
1 parent 35a13ef commit 8147fbe
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Create macOS universal executable
if: runner.os == 'macOS'
run: |
lipo -create -output target/release/git-prole-macos \
lipo -create -output target/git-prole-macos \
target/x86_64-apple-darwin/release/git-prole \
target/aarch64-apple-darwin/release/git-prole
Expand Down Expand Up @@ -133,10 +133,9 @@ jobs:
run: |
mkdir -p target/release
mv target/x86_64-unknown-linux-musl/release/git-prole \
target/release/git-prole-x86_64-linux
target/git-prole-x86_64-linux
mv target/aarch64-unknown-linux-musl/release/git-prole \
target/release/git-prole-aarch64-linux
target/git-prole-aarch64-linux
- name: Build user manual
if: runner.os == 'Linux'
Expand All @@ -150,16 +149,16 @@ jobs:
with:
name: macos
path: |
target/release/git-prole-macos
target/git-prole-macos
- name: Upload Linux executables
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
name: linux
path: |
target/release/git-prole-x86_64-linux
target/release/git-prole-aarch64-linux
target/git-prole-x86_64-linux
target/git-prole-aarch64-linux
target/git-prole-user-manual.tar.xz
- name: Publish to crates.io
Expand Down

0 comments on commit 8147fbe

Please sign in to comment.