From 9d9f95961d9a5122cc5318f137eabe7aa9aeff35 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:29:56 -0600 Subject: [PATCH] ci: fix secrets context not allowed in if conditional (#4726) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7da796e6b..18f230a2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -255,6 +255,8 @@ jobs: github-release: runs-on: ubuntu-latest needs: [prepare-build-info, release-google, release-fdroid] + env: + INTERNAL_BUILDS_HOST: ${{ secrets.INTERNAL_BUILDS_HOST }} permissions: contents: write id-token: write @@ -283,7 +285,7 @@ jobs: - name: Create or Update internal GitHub Release continue-on-error: true - if: ${{ secrets.INTERNAL_BUILDS_HOST != '' }} + if: ${{ env.INTERNAL_BUILDS_HOST != '' }} uses: softprops/action-gh-release@v2 with: repository: ${{ secrets.INTERNAL_BUILDS_HOST }}