From 8333cf0cf2b5f8da09cf5233b2c02f670e1f8de5 Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Fri, 10 Jan 2025 18:50:15 -0700 Subject: [PATCH] Added gitea publish action --- .gitea/workflows/publish.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/publish.yaml diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml new file mode 100644 index 0000000..fa94b2c --- /dev/null +++ b/.gitea/workflows/publish.yaml @@ -0,0 +1,24 @@ +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