mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
use new platform logic
This commit is contained in:
parent
e1e606cfa6
commit
d3caa70dc9
2 changed files with 4 additions and 5 deletions
7
.github/workflows/cd.yml
vendored
7
.github/workflows/cd.yml
vendored
|
@ -10,6 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }}
|
has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }}
|
||||||
|
platforms: ${{ steps.has-artifacts.outputs.platforms }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# ^^ NOTE probably no longer required but I don’t dare try to remove it
|
# ^^ NOTE probably no longer required but I don’t dare try to remove it
|
||||||
|
@ -30,11 +31,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform: ${{ fromJson(needs.cd.outputs.platforms) }}
|
||||||
- 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: ./.github/workflows/bottle.yml
|
uses: ./.github/workflows/bottle.yml
|
||||||
|
|
|
@ -8,6 +8,8 @@ versions:
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ~3.10
|
python.org: ~3.10
|
||||||
|
|
||||||
|
platform: darwin
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
pip.pypa.io: '*'
|
pip.pypa.io: '*'
|
||||||
|
|
Loading…
Reference in a new issue