mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +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
|
||||
outputs:
|
||||
has-artifacts: ${{ steps.has-artifacts.outputs.has-artifacts }}
|
||||
platforms: ${{ steps.has-artifacts.outputs.platforms }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# ^^ NOTE probably no longer required but I don’t dare try to remove it
|
||||
|
@ -30,11 +31,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform:
|
||||
- darwin+x86-64
|
||||
- linux+x86-64
|
||||
- darwin+aarch64
|
||||
- linux+aarch64
|
||||
platform: ${{ fromJson(needs.cd.outputs.platforms) }}
|
||||
needs: [cd]
|
||||
if: ${{ needs.cd.outputs.has-artifacts == 'true' }}
|
||||
uses: ./.github/workflows/bottle.yml
|
||||
|
|
|
@ -8,6 +8,8 @@ versions:
|
|||
dependencies:
|
||||
python.org: ~3.10
|
||||
|
||||
platform: darwin
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
pip.pypa.io: '*'
|
||||
|
|
Loading…
Reference in a new issue