From a705d17b8d8be390d395e637c316c0a00debdb12 Mon Sep 17 00:00:00 2001 From: "Jose R. Gonzalez" Date: Thu, 11 Apr 2024 10:17:06 -0500 Subject: [PATCH] Update action.yml --- .github/actions/combine-secrets/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/combine-secrets/action.yml b/.github/actions/combine-secrets/action.yml index 2d6055f..803f926 100644 --- a/.github/actions/combine-secrets/action.yml +++ b/.github/actions/combine-secrets/action.yml @@ -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