Repository navigation
ci: Ignore docs and run builds only on dispatch #76
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: CI | |
| on: | |
| push: | |
| branches: [ master, release ] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| pull_request: | |
| branches: [ master, dev ] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Run Tests | |
| uses: ./.github/workflows/test.yml | |
| # Daily PR/push CI stays lightweight. Full package builds run on | |
| # workflow_dispatch here, or through release/tag workflows. | |
| build: | |
| name: Build Packages | |
| if: github.event_name == 'workflow_dispatch' | |
| needs: test | |
| uses: ./.github/workflows/build-matrix.yml | |
| with: | |
| retention-days: 7 |