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.
This commit is contained in:
2026-07-03 17:22:50 +02:00
parent 1b63a03b01
commit fc292fc0d3

40
.github/workflows/release.yml vendored Normal file
View File

@@ -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