Skip to content

Commit

Permalink
Update commit_bundler.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores authored Jan 23, 2024
1 parent 7ff2721 commit a57d499
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/commit_bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,21 @@ jobs:
- name: active env
run: poetry env use .venv/Scripts/python3
- name: Install package
run: poetry install --with build
run: poetry install --all-extras
- name: Install pyinstaller
run: pip install pyinstaller
# - name: temp deactive
# run: deactive
- name: create-one-file
id: create-one-file
run: poetry run pyinstaller D:\a\OF-Scraper\OF-Scraper\ofscraper\__main__.py --collect-submodules ofscraper --onefile --name "ofscraper_windows_${{ steps.commit.outputs.short}}"
run: pyinstaller D:\a\OF-Scraper\OF-Scraper\ofscraper\__main__.py --collect-submodules ofscraper --onefile --name "ofscraper_windows_${{ steps.commit.outputs.short}}"
continue-on-error: true
- name: active env for createfile2
run: poetry env use .venv/Scripts/python3
- name: create-one-file2
id: create-one-file2
if: steps.create-one-file.outcome != 'success'
run: poetry run pyinstaller .venv/Scripts/ofscraper --collect-submodules application --onefile --name "ofscraper_windows_${{ steps.commit.outputs.short}}"
run: pyinstaller .venv/Scripts/ofscraper --collect-submodules application --onefile --name "ofscraper_windows_${{ steps.commit.outputs.short}}"
- name: upload file
uses: actions/upload-artifact@v3
with:
Expand All @@ -160,14 +162,14 @@ jobs:
# run: deactive
- name: create-dir
id: create-dir
run: poetry run pyinstaller D:\a\OF-Scraper\OF-Scraper\ofscraper\__main__.py --collect-submodules ofscraper --name "ofscraper_windows_${{steps.commit.outputs.short}}"
run: pyinstaller D:\a\OF-Scraper\OF-Scraper\ofscraper\__main__.py --collect-submodules ofscraper --name "ofscraper_windows_${{steps.commit.outputs.short}}"
continue-on-error: true
- name: active env for create-dir2
run: poetry env use .venv/Scripts/python3
- name: create-dir2
id: create-one-dir2
if: steps.create-dir.outcome != 'success'
run: poetry run pyinstaller .venv/Scripts/ofscraper --collect-submodules application --name "ofscraper_windows_${{steps.commit.outputs.short}}"
run: pyinstaller .venv/Scripts/ofscraper --collect-submodules application --name "ofscraper_windows_${{steps.commit.outputs.short}}"
- uses: vimtor/action-zip@v1
with:
files: "dist/ofscraper_windows_${{steps.commit.outputs.short}}"
Expand Down

0 comments on commit a57d499

Please sign in to comment.