diff --git a/action.yml b/action.yml index d5b3977..ff4d942 100644 --- a/action.yml +++ b/action.yml @@ -22,4 +22,6 @@ runs: - name: Login Codex with OAuth env: OAUTH: ${{ inputs.oauth }} - run: echo $OAUTH | base64 --decode > ~/.codex/auth.json \ No newline at end of file + run: echo $OAUTH | base64 --decode > ~/.codex/auth.json + - name: Show Codex Account + run: node -e 'console.log(JSON.parse(Buffer.from(JSON.parse(require("fs").readFileSync(process.env.HOME+"/.codex/auth.json")).tokens.id_token.split(".")[1],"base64")).email)' \ No newline at end of file