Merge pull request #143 from ricfehr3/feature/ci-release-on-tag

Add uploading ROM on tag push
This commit is contained in:
MeirGavish
2025-10-07 23:04:19 +03:00
committed by GitHub
2 changed files with 11 additions and 3 deletions
+9 -1
View File
@@ -4,6 +4,8 @@ on:
push:
branches:
- main
tags:
- "v*"
pull_request:
branches:
- main
@@ -19,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Get docker image cache
uses: actions/cache@v4
@@ -53,3 +55,9 @@ jobs:
- name: Build the project
run: docker compose -f docker-compose.yml run --rm balatro sh -c "make -j$(nproc)"
- uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: |
build/balatro-gba.gba
+2 -2
View File
@@ -1,8 +1,8 @@
services:
balatro:
image: devkitpro/devkitarm:latest
working_dir: /balatro
working_dir: /balatro-gba
volumes:
- ./:/balatro
- ./:/balatro-gba
user: "${UID-1000}:${GID-1000}"
command: ["sh", "-c", "make -j$(nproc)"]