Skip to content

Commit 9cecbe2

Browse files
authored
fix: update workflow build action (#41)
1 parent 232f601 commit 9cecbe2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ jobs:
2020
with:
2121
python-version: '3.x' # Specify your Python version
2222

23-
- name: Install Poetry
24-
run: |
25-
curl -sSL https://install.python-poetry.org | python3
26-
27-
- name: Build wheel
28-
run: poetry build -f wheel
29-
3023
- name: Extract version
3124
id: get_version
3225
run: |
@@ -39,6 +32,13 @@ jobs:
3932
sed -i "s/COMMIT_HASH = \".*\"/COMMIT_HASH = \"$COMMIT_HASH\"/" src/emd/revision.py
4033
echo "SHORT_SHA=$COMMIT_HASH" >> $GITHUB_ENV
4134
35+
- name: Install Poetry
36+
run: |
37+
curl -sSL https://install.python-poetry.org | python3
38+
39+
- name: Build wheel
40+
run: poetry build -f wheel
41+
4242
- name: Upload wheel artifact
4343
uses: actions/upload-artifact@v4
4444
with:

0 commit comments

Comments
 (0)