Files
AllgemeinerProblemLoeser/.github/workflows/release.yml
niklascfw fc292fc0d3 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.
2026-07-03 17:22:50 +02:00

41 lines
828 B
YAML

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