fix: Add usage tracking to config method (#15) #13
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 | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # Contents and pull-requests are for release-please to make releases. | |
issues: write # Needed to create labels | |
pull-requests: write | |
outputs: | |
release-created: ${{ steps.release.outputs.release_created }} | |
tag-name: ${{ steps.release.outputs.tag_name }} | |
steps: | |
- uses: googleapis/release-please-action@v4 | |
id: release | |
release-sdk: | |
needs: release-please | |
if: ${{ needs.release-please.outputs.release-created == 'true' }} | |
uses: ./.github/workflows/publish.yml | |
with: | |
dry_run: false | |
tag_name: ${{ needs.release-please.outputs.tag-name }} |