gfolf2/.gitea/workflows/publish.yaml

25 lines
606 B
YAML

name: itch.io publish action
run-name: ${{ gitea.actor }} is publishing ${{ gitea.repository }} ${{ gitea.ref }} to itch.io.
on:
push:
branches:
- ci-test
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup environment
- run: snap install godot-4
- run: |
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default \
&& unzip butler.zip \
&& chmod +x butler \
&& ./butler -V
- name: Build project
uses: actions/checkout@v4
- run: ./debug_build.sh -f