From b5b1289bc080287e3c9d900c6e04e8c4802d3765 Mon Sep 17 00:00:00 2001 From: Xavier Godart Date: Mon, 2 Dec 2024 21:38:25 +0100 Subject: [PATCH] add itchio release step --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f08778f..5a550bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,3 +95,24 @@ jobs: files: | signls_*.tar.gz signls_*.zip + + itchio-release: + needs: release + if: startsWith(github.ref, 'refs/tags/v') + runs-on: ubuntu-latest + strategy: + matrix: + os: [Linux, macOS, Windows] + env: + itchio_project: "emprcl/signls" + steps: + - uses: actions/download-artifact@v4.1.7 + with: + name: signls_${{ github.sha }}_${{ matrix.os }} + - uses: robpc/itchio-upload-action@v1 + with: + path: signls_${{ github.sha }}_${{ matrix.os }} + project: ${{ env.itchio_project }} + channel: ${{ matrix.os }} + version: ${{ github.ref_name}} + api-key: ${{ secrets.ITCHIO_API_KEY }}