Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Release action: Add sdcard/bbcbasic.bin to the zip.
Browse files Browse the repository at this point in the history
  • Loading branch information
astralaster committed Jun 28, 2023
1 parent 02e65da commit 6a0181f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ jobs:
- name: Build
run: cargo build --release --verbose --target ${{ env.TARGET }}
- name: Zip artifact for deployment
run: zip -j agon-light-emulator_${{ env.TARGET }}_${{github.ref_name}}.zip target/${{ env.TARGET }}/release/agon-light-emulator README.md LICENSE bbcbasic.bin MOS.bin
run: zip -j agon-light-emulator_${{ env.TARGET }}_${{github.ref_name}}.zip target/${{ env.TARGET }}/release/agon-light-emulator README.md LICENSE MOS.bin
- name: Add bbcbasic.bin to zip
run: zip agon-light-emulator_${{ env.TARGET }}_${{github.ref_name}}.zip sdcard/bbcbasic.bin
- name: Upload to GitHub Release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "*.zip"
tags: true
draft: true
release_windows:
runs-on: ubuntu-latest
env:
Expand All @@ -42,12 +43,13 @@ jobs:
rustup target add ${{ env.TARGET }}
cargo build --release --verbose --target ${{ env.TARGET }} --features sdl2/bundled
- name: Zip artifact for deployment
run: zip -j agon-light-emulator_${{ env.TARGET }}_${{github.ref_name}}.zip target/${{ env.TARGET }}/release/agon-light-emulator.exe target/${{ env.TARGET }}/release/SDL2.dll README.md LICENSE bbcbasic.bin MOS.bin
run: zip -j agon-light-emulator_${{ env.TARGET }}_${{github.ref_name}}.zip target/${{ env.TARGET }}/release/agon-light-emulator.exe target/${{ env.TARGET }}/release/SDL2.dll README.md LICENSE MOS.bin
- name: Add bbcbasic.bin to zip
run: zip agon-light-emulator_${{ env.TARGET }}_${{github.ref_name}}.zip sdcard/bbcbasic.bin
- name: Upload to GitHub Release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "*.zip"
tags: true
draft: true
tags: true

0 comments on commit 6a0181f

Please sign in to comment.