Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
komish authored Apr 11, 2024
1 parent 0244f5f commit a705d17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/combine-secrets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ runs:
using: composite
steps:
- name: Fail if secrets are empty
if: ${{ secrets.PARTIAL_ONE == '' || secrets.PARTIAL_TWO == '' }}
env:
SECRETS_ARE_EMPTY: ${{ secrets.PARTIAL_ONE == '' || secrets.PARTIAL_TWO == '' }}
# if: ${{ env.SECRETS_ARE_EMPTY == 'true' }}
shell: bash
run: |
echo $SECRETS_ARE_EMPTY
echo "::error::A secret was not set"
exit 1
Expand Down

0 comments on commit a705d17

Please sign in to comment.