Skip to content

Commit

Permalink
Update pyinstaller.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Jul 24, 2024
1 parent be0db6e commit ab38164
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,12 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
# https://pipenv.pypa.io/en/latest/installation.html
- run: |
pip install pipenv --user
if [ "$OS" = "Windows_NT" ]; then
echo "$(python -m site --user-base | sed 's/site-packages/Scripts/')" >> "$GITHUB_PATH"
else
echo "$(python -m site --user-base)/bin" >> "$GITHUB_PATH"
fi
- run: pipenv install --dev -e .
- run: pipenv install pyinstaller
- run: pipenv run bikeshed update
- run: pipenv run pyinstaller -y --collect-data=bikeshed --name=bikeshed ./bikeshed.py # ./bikeshed/__main__.py
cache: pip
# TODO: Use pipenv
- run: pip install -e .
- run: pip install pyinstaller
- run: bikeshed update
- run: pyinstaller -y --collect-data=bikeshed --name=bikeshed ./bikeshed.py # ./bikeshed/__main__.py
- uses: actions/upload-artifact@v4
with:
name: bikeshed-${{ matrix.target }}
Expand Down

0 comments on commit ab38164

Please sign in to comment.