chore(main): release 1.33.0 (#145) #62
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
| name: Release Please | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 | |
| id: release | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| config-file: release-please-config.json | |
| manifest-file: .release-please-manifest.json | |
| - name: Check out repository | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set up mise toolchain | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| install: true | |
| cache: true | |
| - name: Install Pebble SDK | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: scripts/ensure-pebble-sdk.sh | |
| - name: Build .pbw | |
| if: ${{ steps.release.outputs.release_created }} | |
| env: | |
| TELEMETRY_ENDPOINT: ${{ secrets.TELEMETRY_ENDPOINT_RELEASE }} | |
| run: mise build release | |
| - name: Verify release asset exists | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: test -f build/forecaswatch2.pbw | |
| - name: Upload .pbw to release | |
| if: ${{ steps.release.outputs.release_created }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: gh release upload ${{ steps.release.outputs.tag_name }} build/forecaswatch2.pbw --clobber |