mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
sync workflows with pantry.core
This commit is contained in:
parent
0af2511e42
commit
8bb4b483c8
3 changed files with 21 additions and 0 deletions
11
.github/workflows/cd.yml
vendored
11
.github/workflows/cd.yml
vendored
|
@ -24,10 +24,21 @@ jobs:
|
||||||
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
|
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
|
||||||
bottle-pr:
|
bottle-pr:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- darwin+x86-64
|
||||||
|
- linux+x86-64
|
||||||
|
- darwin+aarch64
|
||||||
|
- linux+aarch64
|
||||||
needs: [cd]
|
needs: [cd]
|
||||||
if: ${{ needs.cd.outputs.HAS_ARTIFACTS == 'true' }}
|
if: ${{ needs.cd.outputs.HAS_ARTIFACTS == 'true' }}
|
||||||
uses: teaxyz/pantry.core/.github/workflows/bottle.yml@main
|
uses: teaxyz/pantry.core/.github/workflows/bottle.yml@main
|
||||||
|
with:
|
||||||
|
platform: ${{ matrix.platform }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
bottle-standalone:
|
bottle-standalone:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -13,8 +13,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
PATTERNS: projects/**/package.yml
|
PATTERNS: projects/**/package.yml
|
||||||
build:
|
build:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- darwin+x86-64
|
||||||
|
- linux+x86-64
|
||||||
|
- darwin+aarch64
|
||||||
|
- linux+aarch64
|
||||||
needs: [get-diff]
|
needs: [get-diff]
|
||||||
uses: teaxyz/pantry.core/.github/workflows/build.yml@main
|
uses: teaxyz/pantry.core/.github/workflows/build.yml@main
|
||||||
with:
|
with:
|
||||||
projects: ${{ needs.get-diff.outputs.diff || 'zlib.net' }}
|
projects: ${{ needs.get-diff.outputs.diff || 'zlib.net' }}
|
||||||
|
platform: ${{ matrix.platform }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
1
.github/workflows/cleanup.yml
vendored
1
.github/workflows/cleanup.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
cleanup:
|
cleanup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.pull_request.merged == false
|
||||||
steps:
|
steps:
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
|
|
Loading…
Reference in a new issue