Skip to content

Commit

Permalink
WIP: separate line curl
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Nov 18, 2023
1 parent feaa56f commit 876c2ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ runs:
- name: Revoke Vault token
if: success() || failure()
shell: bash
run: curl --fail --silent --show-error --header "X-Vault-Token: ${VAULT_TOKEN}" --data "" "${VAULT_SERVER}/v1/auth/token/revoke-self"
run: |
curl --fail --silent --show-error --header "X-Vault-Token: ${VAULT_TOKEN}" --data "" "${VAULT_SERVER}/v1/auth/token/revoke-self"
env:
VAULT_SERVER: ${{ inputs.vault_server }}
VAULT_TOKEN: ${{ steps.vault_auth.outputs.vault_token }}

0 comments on commit 876c2ef

Please sign in to comment.