From fc292fc0d34f7d1d3485a053813e62d57a8153c6 Mon Sep 17 00:00:00 2001 From: niklascfw Date: Fri, 3 Jul 2026 17:22:50 +0200 Subject: [PATCH] ci: add Gitea release workflow with AllgemeinerProblemLoeser.bin asset Build on v* tag push or workflow_dispatch and attach output binary via gitea-release-action. --- .github/workflows/release.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e9d6632 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,40 @@ +name: Release + +on: + push: + tags: + - 'v*' + workflow_dispatch: + +permissions: + contents: write + +jobs: + release: + name: Build and Release + runs-on: ubuntu-latest + container: devkitpro/devkita64:latest + + steps: + - name: Install dependencies + run: apt-get update && apt-get install -y nodejs + + - name: Checkout latest code + uses: actions/checkout@v5 + with: + clean: true + submodules: recursive + fetch-depth: 0 + + - name: Build + run: | + export DEVKITPRO=/opt/devkitpro + make -j4 all + shell: bash + + - name: Publish release + uses: https://gitea.com/actions/gitea-release-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + files: |- + output/AllgemeinerProblemLoeser.bin