Skip to content

Commit

Permalink
debug curl
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin authored Dec 18, 2023
1 parent 4e3fc5d commit 5b956bd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/oidc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
env | sort -u
- name: fetch openidc-configuration
run: curl -L https://token.actions.githubusercontent.com/.well-known/openid-configuration
run: curl --trace-ascii /tmp/curl.log --trace-time -L https://token.actions.githubusercontent.com/.well-known/openid-configuration

- name: fetch jwks
run: |
curl -L https://token.actions.githubusercontent.com/.well-known/jwks.json
curl --trace-ascii /tmp/curl.log --trace-time -L https://token.actions.githubusercontent.com/.well-known/jwks.json
- name: fetch openidc-configuration again
run: curl -L https://token.actions.githubusercontent.com/.well-known/openid-configuration
run: curl --trace-ascii /tmp/curl.log --trace-time -L https://token.actions.githubusercontent.com/.well-known/openid-configuration

- name: Install OIDC Client from Core Package
run: npm install @actions/[email protected] @actions/http-client jwks-rsa jsonwebtoken
Expand Down Expand Up @@ -88,4 +88,8 @@ jobs:
}
});
- name: dump curl logs
if: always()
run:
cat /tmp/curl.log

0 comments on commit 5b956bd

Please sign in to comment.