mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
ACTION_ENABLER secret take two. (#60524)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user