From 6a0181fd7cf0a7df867add93ec601b628bc58e3e Mon Sep 17 00:00:00 2001 From: Sascha Schneider Date: Thu, 29 Jun 2023 01:09:18 +0200 Subject: [PATCH] Release action: Add sdcard/bbcbasic.bin to the zip. --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 978b113..8c50f5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,9 @@ 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: @@ -26,7 +28,6 @@ jobs: with: file: "*.zip" tags: true - draft: true release_windows: runs-on: ubuntu-latest env: @@ -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 \ No newline at end of file + tags: true \ No newline at end of file