diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 02463ff..2ebd8f0 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -20,13 +20,31 @@ jobs: name: codex v${{ steps.version.outputs.version }} tag_name: v${{ steps.version.outputs.version }} target_commitish: ${{ github.head_ref }} - qc: - name: 品質檢查 + test: + name: 工具測試 runs-on: ubuntu needs: [version] + outputs: + status: ${{ steps.test.outputs.status }} + output: ${{ steps.test.outputs.output }} steps: - - name: 品質檢查 + - name: 工具測試 + id: test uses: https://gitea.jsc.idv.tw/actions/codex@v${{ needs.version.outputs.version }} with: oauth: ${{ secrets.CODEX_OAUTH }} - model: gpt-5.4-mini \ No newline at end of file + model: gpt-5.4-mini + output: + name: 輸出結果 + runs-on: ubuntu + needs: [test] + steps: + - name: 輸出狀態 + env: + CODEX_STATUS: ${{ needs.test.outputs.status }} + run: printf 'status: %s\n' "$CODEX_STATUS" + - name: 輸出內容 + env: + CODEX_OUTPUT: ${{ needs.test.outputs.output }} + run: | + printf 'output:\n%s\n' "$CODEX_OUTPUT"