Also ensure the release goes as intended

This commit is contained in:
Gwilym Kuiper 2022-02-24 21:35:02 +00:00
parent 432ea71966
commit c228910885
2 changed files with 7 additions and 4 deletions

View file

@ -26,8 +26,9 @@ jobs:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
run: bash .github/scripts/update-template-repo.sh run: bash .github/scripts/update-template-repo.sh
- uses: extractions/setup-just@v1
- name: Build the examples - name: Build the examples
run: bash .github/scripts/build-example-gba-files.sh run: just build-roms
- name: Upload examples to the release - name: Upload examples to the release
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
with: with:

View file

@ -1,12 +1,12 @@
build: _build-roms build: build-roms
ci: && _build-roms ci: && build-roms
just _all-crates _build just _all-crates _build
just _all-crates _test-debug just _all-crates _test-debug
just _all-crates _test-release just _all-crates _test-release
just _all-crates _clippy just _all-crates _clippy
_build-roms: build-roms:
just _build-rom "examples/the-purple-night" "PURPLENIGHT" just _build-rom "examples/the-purple-night" "PURPLENIGHT"
just _build-rom "examples/the-hat-chooses-the-wizard" "HATWIZARD" just _build-rom "examples/the-hat-chooses-the-wizard" "HATWIZARD"
@ -16,6 +16,8 @@ _build-roms:
_build-rom folder name: _build-rom folder name:
#!/usr/bin/env bash #!/usr/bin/env bash
set -euxo pipefail
GAME_FOLDER="{{folder}}" GAME_FOLDER="{{folder}}"
INTERNAL_NAME="{{name}}" INTERNAL_NAME="{{name}}"