Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Nov 27, 2024
1 parent c5a412b commit 99569cb
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Download macOS artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.BUILD_PREFIX }}-macos-latest
name: ${{ env.BUILD_PREFIX }}-macOS-latest
path: ./artifacts/
github-token: ${{ secrets.GH_PAT }}
repository: ${{ env.TARGET_REPOSITORY }}
Expand All @@ -69,24 +69,31 @@ jobs:

- name: Upload Ubuntu
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/${{ env.BUILD_PREFIX }}-ubuntu-latest.zip
asset_name: ${{ env.BUILD_PREFIX }}-ubuntu-latest.zip
asset_content_type: application/zip


- name: Upload Windows
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/${{ env.BUILD_PREFIX }}-windows-latest.zip
asset_name: ${{ env.BUILD_PREFIX }}-windows-latest.zip
asset_content_type: application/zip

- name: Upload macOS
- name: Upload OS
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/${{ env.BUILD_PREFIX }}-macos-latest.zip
asset_name: ${{ env.BUILD_PREFIX }}-macos-latest.zip
asset_path: ./artifacts/${{ env.BUILD_PREFIX }}-macOS-latest.zip
asset_name: ${{ env.BUILD_PREFIX }}-macOS-latest.zip
asset_content_type: application/zip

0 comments on commit 99569cb

Please sign in to comment.