Skip to content

Commit

Permalink
fix: secrets not evaluated in output?
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Dec 6, 2024
1 parent 4ec5cf6 commit 4e3e366
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/reusable-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,11 @@ jobs:
packages: write
outputs:
version: ${{ steps.meta.outputs.version }}
deployer_available: ${{ secrets.PAT_TOKEN_EXTENSION_DEPLOYER != '' }}
version_bump_available: ${{ inputs.VERSION_BUMPER_APPID != '' && secrets.VERSION_BUMPER_SECRET != '' }}
deployer_available: ${{ env.deployer_available }}
version_bump_available: ${{ env.version_bump_available }}
env:
deployer_available: ${{ secrets.PAT_TOKEN_EXTENSION_DEPLOYER != '' && 'true' || 'false' }}
version_bump_available: ${{ (vars.VERSION_BUMPER_APPID != '' && secrets.VERSION_BUMPER_SECRET != '') && 'true' || 'false' }}
snyk_available: ${{ secrets.SNYK_TOKEN != '' && 'true' || 'false' }}
steps:
- name: Checkout repository
Expand Down

0 comments on commit 4e3e366

Please sign in to comment.