From c6b1f1112b8770d67cb5f0bc4e906b9b09a7b007 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 4 Dec 2025 12:47:00 +0100 Subject: [PATCH 1/2] Fix release script invocation --- .github/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3e567577..5d1cf18b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,12 +1,17 @@ name: Release -on: workflow_dispatch +on: + workflow_dispatch: + push: + branches: + - fix-release jobs: fetch_prebuilts: uses: ./.github/workflows/prebuild_assets.yml draft_release: + if: false permissions: contents: write name: Create Draft Release on GitHub @@ -60,7 +65,7 @@ jobs: run: | ./gradlew \ --no-configuration-cache \ - -PhasPrebuiltAssets=true + -PhasPrebuiltAssets=true \ -PGITHUB_PUBLISH_TOKEN="${{ secrets.GITHUB_TOKEN }}" \ -PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \ -PsigningInMemoryKeyId="${{ secrets.SIGNING_KEY_ID }}" \ @@ -73,6 +78,7 @@ jobs: build_xcframeworks: name: Build XCFrameworks + if: false needs: - fetch_prebuilts runs-on: macos-latest @@ -113,6 +119,7 @@ jobs: permissions: contents: write needs: [draft_release, build_xcframeworks, fetch_prebuilts] + if: false name: Add assets to pending release runs-on: ubuntu-latest steps: From 13f0526a25ad463f57cf62388ee3006d42b0762b Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 4 Dec 2025 13:47:50 +0100 Subject: [PATCH 2/2] Revert trigger changes --- .github/workflows/deploy.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5d1cf18b..2fa25e0c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,17 +1,12 @@ name: Release -on: - workflow_dispatch: - push: - branches: - - fix-release +on: workflow_dispatch jobs: fetch_prebuilts: uses: ./.github/workflows/prebuild_assets.yml draft_release: - if: false permissions: contents: write name: Create Draft Release on GitHub @@ -78,7 +73,6 @@ jobs: build_xcframeworks: name: Build XCFrameworks - if: false needs: - fetch_prebuilts runs-on: macos-latest @@ -119,7 +113,6 @@ jobs: permissions: contents: write needs: [draft_release, build_xcframeworks, fetch_prebuilts] - if: false name: Add assets to pending release runs-on: ubuntu-latest steps: