Skip to content

release-please

release-please #193

name: release-please
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
if: ${{ !env.ACT }}
outputs:
catwalk_release: ${{ steps.release.outputs['catwalk--release_created'] || env.ACT }}
catwalk_tag: ${{ steps.release.outputs['catwalk--tag_name'] }}
whiskers_release: ${{ steps.release.outputs['whiskers--release_created'] || env.ACT }}
whiskers_tag: ${{ steps.release.outputs['whiskers--tag_name'] }}
upload-catwalk:
needs: release-please
if: ${{ needs.release-please.outputs.catwalk_release }}
uses: ./.github/workflows/upload-rust.yml
with:
tag: ${{ needs.release-please.outputs.catwalk_tag }}
executable: catwalk
member: catppuccin-catwalk
secrets: inherit
upload-whiskers:
needs: release-please
if: ${{ needs.release-please.outputs.whiskers_release }}
uses: ./.github/workflows/upload-rust.yml
with:
tag: ${{ needs.release-please.outputs.whiskers_tag }}
executable: whiskers
member: catppuccin-whiskers
secrets: inherit