We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33a8213 commit d2ea69dCopy full SHA for d2ea69d
.github/workflows/release-publish-ossrh.yml
@@ -56,11 +56,17 @@ jobs:
56
- name: Checkout repository
57
uses: actions/checkout@v6
58
59
+ - name: Debug OIDC token
60
+ run: |
61
+ TOKEN=$(curl -s -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
62
+ "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=sts.amazonaws.com")
63
+ echo "$TOKEN" | jq -r '.value' | cut -d. -f2 | base64 -d 2>/dev/null | jq '.sub, .aud'
64
+
65
- name: set aws credentials
66
uses: aws-actions/configure-aws-credentials@v4
67
with:
68
role-to-assume: arn:aws:iam::752443094709:role/github-actions
- role-session-name: github-actions
69
+ role-session-name: aws-auth-action
70
aws-region: ${{ env.AWS_REGION }}
71
72
- name: Get secrets by name
0 commit comments