name: Publish desktop game builds on: push: branches: [main] workflow_dispatch: jobs: release: if: github.ref == 'refs/heads/main' runs-on: big-ship-unity steps: - name: Check out the update uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.sha }} persist-credentials: false - name: Verify and package the desktop players run: bash Scripts/release.sh build - name: Publish the packages to Gitea Releases env: RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }} run: bash Scripts/release.sh publish