Build SDK #1
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 | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| if: github.repository == 'orbcorp/orb-ruby' | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Token comes from the orb-stlc-automation app rather than a | |
| # RELEASE_PLEASE_TOKEN PAT: no expiry to rotate, and app-created releases | |
| # still trigger the publish and back-sync workflows (GITHUB_TOKEN-created | |
| # events would not). | |
| - name: Mint app token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.STLC_APP_ID }} | |
| private-key: ${{ secrets.STLC_APP_PRIVATE_KEY }} | |
| - uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1 | |
| id: release | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} |