feat: Public API, new namespace, disk actions, sort order, 503s, automated builds #117
Workflow file for this run
This file contains 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: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
- 2.x | |
- 1.x | |
jobs: | |
release-please: | |
runs-on: [ ubuntu-latest ] | |
if: | | |
github.ref == 'refs/heads/main' || | |
github.ref == 'refs/heads/master' || | |
github.ref == 'refs/heads/1.x' || | |
github.ref == 'refs/heads/2.x' | |
outputs: | |
release_created: ${{ steps.release-please.outputs.release_created }} | |
tag_name: ${{ steps.release-please.outputs.tag_name }} | |
version: ${{ steps.release-please.outputs.version }} | |
all: ${{ toJSON(steps.release-please.outputs) }} | |
steps: | |
- uses: tibdex/github-app-token@v1 | |
id: generate-github-token | |
with: | |
app_id: ${{ vars.RELEASE_PLEASE_GITHUB_APP_ID }} | |
private_key: ${{ secrets.RELEASE_PLEASE_GITHUB_APP_PRIVATE_KEY }} | |
- uses: google-github-actions/release-please-action@v4 | |
id: release-please | |
with: | |
token: ${{ steps.generate-github-token.outputs.token }} | |
release: | |
runs-on: [ ubuntu-latest ] | |
needs: [ release-please ] | |
if: needs.release-please.outputs.release_created | |
steps: | |
- run: | | |
echo "Release created: ${{ needs.release-please.outputs.release_created }}" | |
echo "Tag name: ${{ needs.release-please.outputs.tag_name }}" | |
echo "Version: ${{ needs.release-please.outputs.version }}" | |
echo '${{ needs.release-please.outputs.all }}' | jq |