Skip to content

Commit 1febfdb

Browse files
committed
Fix github workflow
1 parent bf33eae commit 1febfdb

4 files changed

Lines changed: 708 additions & 8 deletions

File tree

.github/workflows/publish-on-pypi.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ on:
77

88
jobs:
99
build:
10-
strategy:
11-
matrix:
12-
python_package_dir: [ 'src/python' ]
13-
1410
name: Build distribution 📦
1511
runs-on: ubuntu-latest
1612
defaults:
1713
run:
18-
working-directory: ${{ matrix.python_package_dir }}
14+
working-directory: ./src/python
1915

2016
if: github.event_name == 'push' || github.event_name == 'release'
2117

@@ -57,7 +53,7 @@ jobs:
5753

5854
defaults:
5955
run:
60-
working-directory: ${{ matrix.python_package_dir }}
56+
working-directory: ./src/python
6157

6258
steps:
6359
- name: Download all the dists
@@ -77,9 +73,10 @@ jobs:
7773
runs-on: ubuntu-latest
7874

7975
if: github.event_name == 'release'
76+
8077
defaults:
8178
run:
82-
working-directory: ${{ matrix.python_package_dir }}
79+
working-directory: ./src/python
8380

8481
permissions:
8582
contents: write # IMPORTANT: mandatory for making GitHub Releases

0 commit comments

Comments
 (0)