Merge pull request #14 from jbmorley/jbmorley/build-roms #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| archive-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Package the ROMs | |
| run: scripts/build.sh | |
| - name: Archive the binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: build/mame-roms.zip | |
| if-no-files-found: error |