mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Also ensure the release goes as intended
This commit is contained in:
parent
432ea71966
commit
c228910885
3
.github/workflows/publish-agb.yml
vendored
3
.github/workflows/publish-agb.yml
vendored
|
@ -26,8 +26,9 @@ jobs:
|
|||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
run: bash .github/scripts/update-template-repo.sh
|
||||
|
||||
- uses: extractions/setup-just@v1
|
||||
- name: Build the examples
|
||||
run: bash .github/scripts/build-example-gba-files.sh
|
||||
run: just build-roms
|
||||
- name: Upload examples to the release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
|
8
justfile
8
justfile
|
@ -1,12 +1,12 @@
|
|||
build: _build-roms
|
||||
build: build-roms
|
||||
|
||||
ci: && _build-roms
|
||||
ci: && build-roms
|
||||
just _all-crates _build
|
||||
just _all-crates _test-debug
|
||||
just _all-crates _test-release
|
||||
just _all-crates _clippy
|
||||
|
||||
_build-roms:
|
||||
build-roms:
|
||||
just _build-rom "examples/the-purple-night" "PURPLENIGHT"
|
||||
just _build-rom "examples/the-hat-chooses-the-wizard" "HATWIZARD"
|
||||
|
||||
|
@ -16,6 +16,8 @@ _build-roms:
|
|||
|
||||
_build-rom folder name:
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
GAME_FOLDER="{{folder}}"
|
||||
INTERNAL_NAME="{{name}}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue