use new platform logic

This commit is contained in:
Jacob Heider 2023-04-24 13:46:43 -04:00 committed by Jacob Heider
parent e1e606cfa6
commit d3caa70dc9
2 changed files with 4 additions and 5 deletions

View file

@ -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 dont 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

View file

@ -8,6 +8,8 @@ versions:
dependencies:
python.org: ~3.10
platform: darwin
build:
dependencies:
pip.pypa.io: '*'