Skip to content

Commit

Permalink
add linux zip
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Nov 15, 2023
1 parent 2da1d1c commit 495ffbf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release_bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,16 @@ jobs:
shell: bash
run: |
cd work
apt-get install zip libxml2-dev libxslt-dev -y
apt-get install zip libxml2-dev libxslt-dev zip -y
python3.11 -m venv .venv
/root/.local/bin/poetry install --with build
/root/.local/bin/poetry install
/root/.local/bin/poetry add pyinstaller==5.13.0
echo "install run pyinstaller"
/root/.local/bin/poetry run pyinstaller .venv/bin/ofscraper --collect-submodules application --name "ofscraper_linux_${{ inputs.version}}" --onefile
- name: upload zip
uses: actions/upload-artifact@v3
with:
name: ofscraper_linux_zip
path: "dist/ofscraper_linux_${{ inputs.version}}.zip"
zip -r "dist/ofscraper_linux_${{inputs.version}}.zip" "dist/ofscraper_linux_${{inputs.version}}"
windows:
needs: [create_version]
Expand Down Expand Up @@ -257,7 +255,7 @@ jobs:
- uses: vimtor/action-zip@v1
with:
files: "dist/ofscraper_macos_${{ inputs.version}}"
dest: "dist/ofscraper_macos_${{ inputs.version}}.zip"
dest: "dist/ofscraper_macos_${{ inputs.files}}.zip"
- name: upload file
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 495ffbf

Please sign in to comment.