🐛 fix conditional steps

This commit is contained in:
Félix Voituret
2020-07-08 17:38:04 +02:00
parent 5c8bb82669
commit b114fd032c

View File

@@ -33,11 +33,11 @@ jobs:
sdist-
- name: Install dependencies
run: pip install --upgrade pip setuptools twine
- if: ${{ matrix.platform }} == 'cpu'
name: Package CPU distribution
- name: Package CPU distribution
if: ${{ matrix.platform == 'cpu' }}
run: make build
- if: ${{ matrix.platform }} == 'gpu'
name: Package GPU distribution
- name: Package GPU distribution
if: ${{ matrix.platform == 'gpu' }}
run: make build-gpu
- name: Deploy to pypi
run: make deploy