Test of secret variable 11 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Secret Variable | |
on: | |
push: | |
branches: | |
- NH-85695-Add-signing-binaries-mac | |
jobs: | |
check-secret: | |
runs-on: ubuntu-latest | |
env: | |
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.' | |