chore(ci): Execute 階段呼叫 codex 自我介紹並輸出至 message #3
@@ -21,7 +21,6 @@ jobs:
|
|||||||
id: execute
|
id: execute
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
codex --version
|
codex --version
|
||||||
MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null)
|
MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null)
|
||||||
{
|
{
|
||||||
|
|||||||
+3
-1
@@ -15,7 +15,9 @@ runs:
|
|||||||
- name: Setup Codex
|
- name: Setup Codex
|
||||||
env:
|
env:
|
||||||
CODEX_NON_INTERACTIVE: 1
|
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
|
shell: bash
|
||||||
- name: Login Codex with OAuth
|
- name: Login Codex with OAuth
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user