-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,6 @@ jobs: | |
- name: Create zip archive | ||
working-directory: ./src/win/target/release | ||
run: powershell Compress-Archive -Path y_nes_win.exe,SDL2.dll -DestinationPath yNES-windows-${{github.ref_name}}.zip | ||
- name: Upload build artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: ./src/win/target/release/yNES-windows-${{github.ref_name}}.zip | ||
# The desired behavior if no files are found using the provided path. | ||
if-no-files-found: error | ||
- name: Get the upload URL for a release | ||
id: get_release | ||
uses: bruceadams/[email protected] | ||
|
@@ -37,7 +31,7 @@ jobs: | |
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./src/win/target/release/yNES-windows-build-${{github.ref_name}}.zip | ||
asset_path: ./src/win/target/release/yNES-windows-${{github.ref_name}}.zip | ||
asset_name: yNES-windows-build-${{github.ref_name}}.zip | ||
asset_content_type: application/zip | ||
|
||
|