Skip to content

Commit

Permalink
Test of secret variable 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ArkadiuszNitkaSWI committed Aug 26, 2024
1 parent 43e6295 commit 0fb4a79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
check-secret:
runs-on: ubuntu-latest
env:
super_secret: ${{ secrets.SWO_ISSUER_ID }}
super_secret: ${{ secrets.SWO_KEY_ID }}
steps:
- if: ${{ env.super_secret != '' }}
run: echo 'This step will only run if the secret has a value set.'
- if: ${{ env.super_secret == '' }}
run: echo 'This step will only run if the secret does not have a value set.'
- run: echo ${{ secrets.SWO_KEY_ID }}

0 comments on commit 0fb4a79

Please sign in to comment.