pantry/.github/workflows/ci.yml

30 lines
667 B
YAML
Raw Normal View History

2022-08-01 22:43:40 +03:00
name: ci
on: pull_request
jobs:
get-diff:
runs-on: ubuntu-latest
outputs:
diff: ${{ steps.diff.outputs.diff }}
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
id: diff
with:
PATTERNS: projects/**/package.yml
build:
strategy:
fail-fast: false
matrix:
platform:
- darwin+x86-64
- linux+x86-64
- darwin+aarch64
- linux+aarch64
2022-08-01 22:43:40 +03:00
needs: [get-diff]
uses: ./.github/workflows/build.yml
with:
2022-10-27 20:23:19 +03:00
projects: ${{ needs.get-diff.outputs.diff || 'zlib.net' }}
platform: ${{ matrix.platform }}
secrets: inherit