ACTION_ENABLER secret take two. (#60524)

This commit is contained in:
AnturK
2021-08-03 00:38:56 -07:00
committed by GitHub
parent 900204f610
commit b61971f41a
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ jobs:
env:
ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }}
run: |
unset SECRET_EXISTS
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi
SECRET_EXISTS=false
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS=true ; fi
echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS}
- name: "Setup python"
if: steps.value_holder.outputs.ACTIONS_ENABLED
+2 -2
View File
@@ -11,8 +11,8 @@ jobs:
env:
ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }}
run: |
unset SECRET_EXISTS
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi
SECRET_EXISTS=false
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS=true ; fi
echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS}
- name: Checkout
if: steps.value_holder.outputs.ACTIONS_ENABLED
+2 -2
View File
@@ -13,8 +13,8 @@ jobs:
env:
ENABLER_SECRET: ${{ secrets.ACTION_ENABLER }}
run: |
unset SECRET_EXISTS
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS='true' ; fi
SECRET_EXISTS=false
if [ -n $ENABLER_SECRET ]; then SECRET_EXISTS=true ; fi
echo ::set-output name=ACTIONS_ENABLED::${SECRET_EXISTS}
- name: Checkout
if: steps.value_holder.outputs.ACTIONS_ENABLED