From 7da6db73e11ed9090f784784ff230ec30ac667b7 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 2 Jul 2026 18:25:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(action):=20=E6=96=B0=E5=A2=9E=E9=A1=AF?= =?UTF-8?q?=E7=A4=BA=20Codex=20=E5=B8=B3=E8=99=9F=E6=AD=A5=E9=A9=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.53.0