Browse Source

ci: plugged the dumb paint tool itch publisher on the main workflow

pull/382/head
Parodi, Eugenio 🌶 12 months ago
parent
commit
5563987db0
  1. 19
      .github/workflows/itch-publish.yml
  2. 10
      .github/workflows/release.yml

19
.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: |

10
.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

Loading…
Cancel
Save