From 1d5d5d8a67b320cd0b63c2990bef17efb9e5449e Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 1 Jul 2026 16:45:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(setup-codex):=20=E5=B0=87=20codex=20PATH=20?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E7=A7=BB=E8=87=B3=20action=20=E4=BB=A5=20GIT?= =?UTF-8?q?HUB=5FPATH=20=E4=BE=9B=E5=BE=8C=E7=BA=8C=E6=AD=A5=E9=A9=9F?= =?UTF-8?q?=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 1 - action.yml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 862494f..0cbad8d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -21,7 +21,6 @@ jobs: id: execute shell: bash run: | - export PATH="$HOME/.local/bin:$PATH" codex --version MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) { diff --git a/action.yml b/action.yml index d4c2888..db9f8cf 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,9 @@ runs: - name: Setup Codex env: CODEX_NON_INTERACTIVE: 1 - run: curl -fsSL https://chatgpt.com/codex/install.sh | sh + run: | + curl -fsSL https://chatgpt.com/codex/install.sh | sh + echo "$HOME/.local/bin" >> "$GITHUB_PATH" shell: bash - name: Login Codex with OAuth env: