mirror of
https://github.com/epiral/bb-browser.git
synced 2026-09-14 13:45:45 +08:00
57da2779d3
GITHUB_TOKEN-created releases don't trigger other workflows (GitHub Actions limitation to prevent loops). Changed publish.yml to use workflow_call (invoked by release-please) + workflow_dispatch (manual retry from Actions tab). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
33 lines
771 B
YAML
33 lines
771 B
YAML
name: Release Please
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
release-please:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
release_created: ${{ steps.release.outputs.release_created }}
|
|
tag_name: ${{ steps.release.outputs.tag_name }}
|
|
steps:
|
|
- name: Run release-please
|
|
id: release
|
|
uses: googleapis/release-please-action@v4
|
|
with:
|
|
config-file: release-please-config.json
|
|
manifest-file: .release-please-manifest.json
|
|
|
|
publish:
|
|
needs: release-please
|
|
if: needs.release-please.outputs.release_created == 'true'
|
|
uses: ./.github/workflows/publish.yml
|
|
with:
|
|
tag_name: ${{ needs.release-please.outputs.tag_name }}
|
|
secrets: inherit
|