From da6bf4fd041967e4e8da4eaae9c6c2d6f993a01c Mon Sep 17 00:00:00 2001 From: Simone Date: Sat, 2 May 2026 22:29:05 +0200 Subject: [PATCH] ci: make gitea_only workflow_dispatch input boolean --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1fd40f..ab38778 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,15 +15,16 @@ on: required: true gitea_only: description: 'Esegui solo sync release body su Gitea (salta build e GitHub release)' + type: boolean required: false - default: 'false' + default: false permissions: contents: write jobs: build: - if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.gitea_only == 'true') }} + if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.gitea_only) }} runs-on: windows-latest strategy: fail-fast: true @@ -74,7 +75,7 @@ jobs: path: '*.zip' build-linux: - if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.gitea_only == 'true') }} + if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.gitea_only) }} runs-on: ubuntu-latest strategy: fail-fast: true @@ -120,7 +121,7 @@ jobs: if-no-files-found: error publish: - if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.gitea_only == 'true') }} + if: ${{ !(github.event_name == 'workflow_dispatch' && inputs.gitea_only) }} needs: [build, build-linux] runs-on: ubuntu-latest steps: @@ -255,7 +256,7 @@ jobs: PY sync-gitea-only: - if: ${{ github.event_name == 'workflow_dispatch' && inputs.gitea_only == 'true' }} + if: ${{ github.event_name == 'workflow_dispatch' && inputs.gitea_only }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v6