Skip to content

ci: define root package in release-please config #5

ci: define root package in release-please config

ci: define root package in release-please config #5

Workflow file for this run

name: Release
run-name: Release • main • ${{ github.sha }}
on:
push:
branches: [ "main" ]
permissions:
contents: write
pull-requests: write
issues: write
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
ci:
name: Continuous Integration
uses: ./.github/workflows/release.yaml

Check failure on line 20 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "./.github/workflows/release.yaml" (source branch with sha:94520c88a1a89b4a61756d599e36442a7fe66ee3) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish:
name: Publish release
needs: ci
runs-on: ubuntu-slim
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up build environment
uses: ./.github/actions/setup
- name: Create GitHub release
id: release
uses: googleapis/release-please-action@v4
with:
config-file: release-please-config.json
- name: Publish release artifacts
if: ${{ steps.release.outputs.release_created }}
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ steps.release.outputs.tag_name }}