mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +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_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
||||
bottle-pr:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform:
|
||||
- darwin+x86-64
|
||||
- linux+x86-64
|
||||
- darwin+aarch64
|
||||
- linux+aarch64
|
||||
needs: [cd]
|
||||
if: ${{ needs.cd.outputs.HAS_ARTIFACTS == 'true' }}
|
||||
uses: teaxyz/pantry.core/.github/workflows/bottle.yml@main
|
||||
with:
|
||||
platform: ${{ matrix.platform }}
|
||||
secrets: inherit
|
||||
bottle-standalone:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -13,8 +13,17 @@ jobs:
|
|||
with:
|
||||
PATTERNS: projects/**/package.yml
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform:
|
||||
- darwin+x86-64
|
||||
- linux+x86-64
|
||||
- darwin+aarch64
|
||||
- linux+aarch64
|
||||
needs: [get-diff]
|
||||
uses: teaxyz/pantry.core/.github/workflows/build.yml@main
|
||||
with:
|
||||
projects: ${{ needs.get-diff.outputs.diff || 'zlib.net' }}
|
||||
platform: ${{ matrix.platform }}
|
||||
secrets: inherit
|
||||
|
|
1
.github/workflows/cleanup.yml
vendored
1
.github/workflows/cleanup.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
|||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == false
|
||||
steps:
|
||||
- name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
|
|
Loading…
Reference in a new issue