File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -110,27 +110,6 @@ jobs:
110110 - name : Show binding packages
111111 run : ls -R bindings
112112
113- - name : Obtain OIDC token
114- id : oidc
115- run : |
116- token=$(curl --fail -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
117- "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=cfa.rspack.dev" | jq -r '.value')
118- echo "::add-mask::${token}"
119- echo "token=${token}" >> $GITHUB_OUTPUT
120- shell : bash
121-
122- - name : Obtain GitHub credentials
123- id : github_creds
124- run : |
125- token=$(curl --fail "https://cfa.rspack.dev/api/request/${{ secrets.CFA_PROJECT_ID }}/github/credentials" \
126- -X POST \
127- -H "Content-Type: application/json" \
128- -H "Authorization: bearer ${{ secrets.CFA_SECRET }}" \
129- --data "{\"token\":\"${{ steps.oidc.outputs.token }}\"}" | jq -r '.GITHUB_TOKEN')
130- echo "::add-mask::${token}"
131- echo "token=${token}" >> $GITHUB_OUTPUT
132- shell : bash
133-
134113 - name : Update npm
135114 run : npm install -g npm@latest
136115
You can’t perform that action at this time.
0 commit comments