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 env: PNAME: ${{ gitea.event.repository.name }} steps: - name: Setup Godot uses: chickensoft-games/setup-godot@v1 with: version: 4.3 use-dotnet: false - name: Checkout repository uses: actions/checkout@v4 - name: Install butler 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 run: | mkdir -p build/"$PNAME"_{linux64,osx,win64} godot --headless --verbose --export-debug "Linux" build/"$PNAME"_linux64/"$PNAME.x86_64" godot --headless --verbose --export-debug "macOS" build/"$PNAME"_osx/"$PNAME.app" godot --headless --verbose --export-debug "Windows Desktop" build/"$PNAME"_win64/"$PNAME.exe"