ci: fix secrets context not allowed in if conditional (#4726)

This commit is contained in:
James Rich 2026-03-05 14:29:56 -06:00 committed by GitHub
parent 79a4a3671f
commit 9d9f95961d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}