Skip to content

Commit

Permalink
Fix packaging and windows zipping
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrodkor committed Jul 6, 2023
1 parent 484383d commit 6785f41
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,18 @@ jobs:
- name: Install deps
run: |
pipenv sync
pip install pyinstaller
pipenv run pip install pyinstaller
- name: Build artifact
run: |
pyinstaller checkov.spec
zip checkov.zip dist/checkov
pipenv run pyinstaller checkov.spec
if [[ "$OSTYPE" == "msys" ]]
then
tar.exe -a -c -f checkov.zip dist/checkov
else
zip checkov.zip dist/checkov
fi
- uses: actions/upload-artifact@v3
with:
name: checkov_${{ matrix.name }}.zip
path: checkov.zip
if-no-files-found: error

0 comments on commit 6785f41

Please sign in to comment.