From a76d93707457a7d99f2d3485f050a65c69015fb1 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Wed, 23 Oct 2024 21:10:33 +0200 Subject: [PATCH] [no ci] fix publish job skipped --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1731c1..fa543d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -445,7 +445,7 @@ jobs: permissions: write-all runs-on: ubuntu-latest needs: [ build, build32, buildbusterappimage, buildarmappimage64, appimage-bookworm ] - if: ${{ !cancelled() && github.event_name == 'push' && github.server_url == 'https://github.com' && github.repository == 'minecraft-linux/appimage-builder' }} + if: ${{ !cancelled() && (github.event_name == 'push' && github.server_url == 'https://github.com' && github.repository == 'minecraft-linux/appimage-builder' || github.event_name == 'workflow_dispatch' && inputs.type != 'build') }} steps: - uses: actions/checkout@v3 - run: echo "APPIMAGE_VERSION=$(cat version.txt)" >> $GITHUB_ENV