Update action.yml
This commit is contained in:
parent
e0a78ea1c3
commit
876a68c5e9
@ -43,11 +43,6 @@ runs:
|
|||||||
- name: Retrieve Secrets
|
- name: Retrieve Secrets
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
if [ -z "$BW_SESSION" ]; then
|
|
||||||
echo "❌ BW_SESSION is not set. Please log in to Bitwarden first."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "${{ inputs.secrets }}" | while IFS='>' read SECRET_ID ENV_VAR; do
|
echo "${{ inputs.secrets }}" | while IFS='>' read SECRET_ID ENV_VAR; do
|
||||||
SECRET_ID=$(echo "$SECRET_ID" | sed 's/^ *//;s/ *$//')
|
SECRET_ID=$(echo "$SECRET_ID" | sed 's/^ *//;s/ *$//')
|
||||||
ENV_VAR=$(echo "$ENV_VAR" | sed 's/^ *//;s/ *$//')
|
ENV_VAR=$(echo "$ENV_VAR" | sed 's/^ *//;s/ *$//')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user