From 5563987db097218d96c9e2337b682f4e87c8d8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parodi=2C=20Eugenio=20=F0=9F=8C=B6?= Date: Fri, 4 Apr 2025 14:55:59 +0100 Subject: [PATCH] ci: plugged the dumb paint tool itch publisher on the main workflow --- .github/workflows/itch-publish.yml | 19 +------------------ .github/workflows/release.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/itch-publish.yml b/.github/workflows/itch-publish.yml index d3d92c9f..befd47b9 100644 --- a/.github/workflows/itch-publish.yml +++ b/.github/workflows/itch-publish.yml @@ -7,40 +7,23 @@ on: description: the name of the project type: string required: true - # pkg_folder: - # description: the folder containing the pyproject.toml file - # type: string - # required: true workflow_call: inputs: pkg_name: description: the name of the project type: string required: true - # pkg_folder: - # description: the folder containing the pyproject.toml file - # type: string - # required: true - # release: - # types: [published] permissions: contents: read jobs: - release-build: + release-itchio-build: # runs-on: ubuntu-latest runs-on: self-hosted - # defaults: - # run: - # working-directory: ${{ inputs.pkg_folder }} - steps: - uses: actions/checkout@v4 - # - uses: actions/setup-python@v5 - # with: - # python-version: "3.x" - name: Install Butler shell: bash run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 770bd78e..1f59f011 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -223,6 +223,16 @@ jobs: - release-please secrets: inherit + publish-dumbPaintTool-itch: + if: ${{ fromJson(needs.release-please.outputs.rp_out)['apps/dumbPaintTool--release_created'] }} + name: Publish dumbPaintTool on itch.io + uses: ./.github/workflows/itch-publish.yml + with: + pkg_name: dumb-paint-tool + needs: + - release-please + secrets: inherit + publish-ttkode: if: ${{ fromJson(needs.release-please.outputs.rp_out)['apps/ttkode--release_created'] }} name: Publish ttkode