fix: Propagate reasoning id for OpenAI Responses thinking #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| name: Release Flow | |
| jobs: | |
| release-please: | |
| strategy: | |
| matrix: | |
| elixir: ["1.19.4"] | |
| otp: ["28.3"] | |
| runs-on: ubuntu-latest | |
| outputs: | |
| release_created: ${{ steps.release.outputs.release_created }} | |
| steps: | |
| - uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ vars.APP_ID }} | |
| private-key: ${{ secrets.APP_KEY }} | |
| - name: "Prepare Release" | |
| id: release | |
| uses: googleapis/release-please-action@v4 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| publish: | |
| needs: [release-please] | |
| if: ${{ needs.release-please.outputs.release_created }} | |
| strategy: | |
| matrix: | |
| elixir: ["1.19.4"] | |
| otp: ["28.3"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Elixir | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: ${{ matrix.elixir }} | |
| otp-version: ${{ matrix.otp }} | |
| - name: Restore deps and _build cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| deps | |
| _build | |
| key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} | |
| restore-keys: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix- | |
| - name: Fetch and Compile Dependencies | |
| run: | | |
| mix deps.get | |
| mix deps.compile | |
| - name: Publish to hex.pm | |
| run: HEX_API_KEY=${{ secrets.HEX_API_KEY }} mix hex.publish --yes |