Skip to content

Commit cddcf8f

Browse files
committed
Acceptance test: fix display result 9
1 parent fac1d08 commit cddcf8f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/power-acceptance-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,16 @@ jobs:
2727
# Check if the actor is in the allowed list
2828
if [[ ! " ${allowed_users_array[@]} " =~ " ${actor} " ]]; then
2929
echo "User ${actor} is not authorized to run this workflow."
30-
echo "::set-output name=is_authorized::false" # Set output to false
30+
echo "is_authorized=false" >> $GITHUB_ENV # Set output to false
3131
else
3232
echo "User ${actor} is authorized to run the workflow."
33-
echo "::set-output name=is_authorized::true" # Set output to true
33+
echo "is_authorized=true" >> $GITHUB_ENV # Set output to true
3434
fi
3535
acceptance-test:
3636
needs: check-permissions
3737
runs-on: ubuntu-latest
3838
if: ${{ needs.check-permissions.outputs.is_authorized == 'true' && github.repository == 'powervs-ibm/terraform-provider-ibm' }}
3939

40-
4140
steps:
4241
# Step 1: Checkout code
4342
- name: Checkout code

0 commit comments

Comments
 (0)