diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 78b70a9..02ac9ef 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: name: 1. BUILD runs-on: ubuntu outputs: - message: ${{ steps.build.outputs.message }} + message: ${{ steps.execute.outputs.message }} steps: - name: Source Code checkout uses: actions/checkout@${{ vars.ACTION_CHECKOUT_VERSION }} @@ -17,7 +17,14 @@ jobs: uses: ./ - name: Execute id: execute - run: echo "do something..." + shell: bash + run: | + MESSAGE=$(codex exec "請你進行自我介紹" 2>/dev/null) + { + echo "message<> "$GITHUB_OUTPUT" test: name: 2. TEST runs-on: ubuntu