Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YDKK authored Jul 9, 2023
1 parent 1557d8d commit fa612b9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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

Expand Down

0 comments on commit fa612b9

Please sign in to comment.