Skip to content

Commit a60cf2e

Browse files
committed
chore: fix pyinstaller usage with poetry
1 parent 937896c commit a60cf2e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/bundle.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020
- uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.12
23-
- run: pip install pyinstaller
24-
- run: pyinstaller --name scim2 --onefile scim2_cli/__init__.py
23+
- run: pip install poetry
24+
- run: poetry install
25+
- run: poetry run pip install pyinstaller
26+
- run: poetry run pyinstaller --name scim2 --onefile scim2_cli/__init__.py
2527
- run: ./dist/scim2
2628
- uses: actions/upload-artifact@v4
2729
with:
28-
name: scim2-${{ github.ref_name }}
30+
name: scim2-${{ vars.GITHUB_REF_NAME }}-${{ vars.RUNNER_OS }}
2931
path: dist/scim2

0 commit comments

Comments
 (0)