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