Skip to content

Commit

Permalink
complete apple ci [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
66Leo66 committed Jul 25, 2023
1 parent 95d606b commit 34810fd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,7 @@ jobs:
- name: Build for mac
run: cargo build --release --target x86_64-apple-darwin

- name: List directory
run: ls target

- name: Rename artifact
- name: Rename artifact (x86_64)
run: >
cp
target/x86_64-apple-darwin/release/solver-multi
Expand All @@ -110,12 +107,20 @@ jobs:
- name: Cross-compile Apple Silicon
run: cargo build --release --target aarch64-apple-darwin

- name: Rename artifact (aarch64)
run: >
cp
target/aarch64-apple-darwin/release/solver-multi
solver-multi_aarch64-apple-darwin
- name: List directory
run: ls target

- name: Publish GitHub release
uses: softprops/action-gh-release@v1
with:
draft: true
files: solver-multi_x86_64-apple-darwin
files: |
solver-multi_x86_64-apple-darwin
solver-multi_aarch64-apple-darwin
if: startsWith( github.ref, 'refs/tags/v' ) || contains(github.event.head_commit.message, 'test release')

0 comments on commit 34810fd

Please sign in to comment.