2022-10-31 21:00:24 +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:
|
2023-02-04 03:52:04 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform:
|
|
|
|
- darwin+x86-64
|
|
|
|
- linux+x86-64
|
|
|
|
- darwin+aarch64
|
|
|
|
- linux+aarch64
|
2022-10-31 21:00:24 +03:00
|
|
|
needs: [get-diff]
|
|
|
|
uses: teaxyz/pantry.core/.github/workflows/build.yml@main
|
|
|
|
with:
|
|
|
|
projects: ${{ needs.get-diff.outputs.diff || 'zlib.net' }}
|
2023-02-04 03:52:04 +03:00
|
|
|
platform: ${{ matrix.platform }}
|
2022-10-31 21:00:24 +03:00
|
|
|
secrets: inherit
|