Skip to content

Commit

Permalink
Fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Aug 22, 2023
1 parent ce19a23 commit 8014db3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/sapphirewrapper.so
asset_path: ./bin/sapphirewrapper-amd64.so
asset_name: sapphirewrapper-linux-amd64.so
asset_content_type: application/octet-stream

Expand All @@ -121,10 +121,21 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/sapphirewrapper.dylib
asset_path: ./bin/sapphirewrapper-amd64.dylib
asset_name: sapphirewrapper-darwin-amd64.dylib
asset_content_type: application/octet-stream

- name: Upload Release Asset - Darwin arm64
id: upload-release-asset-darwin-arm64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/sapphirewrapper-arm64.dylib
asset_name: sapphirewrapper-darwin-arm64.dylib
asset_content_type: application/octet-stream

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit 8014db3

Please sign in to comment.