Skip to content

Commit

Permalink
fix ci/cd release
Browse files Browse the repository at this point in the history
  • Loading branch information
gofmanaa committed Jun 11, 2024
1 parent cb263ac commit 7984af2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ jobs:
- if: matrix.platform == 'linux'
name: Build the binary
run: |
echo {{ runner.os }}
os=$(echo {{ runner.os }} | tr '[:upper:]' '[:lower:]')
make build-rust-release
git add -f ./bin/linux-amd64/mamorurs-cli
git commit -m "Add 'linux-amd64' binary"
git add -f ./bin/${os}/mamorurs-cli
git commit -m "Add '${os}' binary"
- if: matrix.platform == 'darwin'
name: Build the binary
run: |
make build-rust-release-macos-aarch64
git add -f /bin/darwin-arm64/mamorurs-cli
git add -f ./bin/darwin-arm64/mamorurs-cli
git commit -m "Add 'darwin-arm64' binary"
- if: matrix.platform == 'linux'
Expand Down

0 comments on commit 7984af2

Please sign in to comment.