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