From b114fd032c1f848f0f164b9c1d8770c52dd0d034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Voituret?= Date: Wed, 8 Jul 2020 17:38:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20conditional=20steps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pypi.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 26d4e4e..3a0594b 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -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 \ No newline at end of file