Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed Jul 31, 2021
1 parent 5a400af commit fd197b1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ jobs:
Copy-Item -Verbose -Recurse -Path models -Destination bika/
Copy-Item -Verbose -Recurse -Path resources -Destination bika/
Remove-Item bika/resources/*.py -r -fo
7z a -r "$($Env:PACKAGENAME + '.zip')" "bika"
# 7z a -r "$($Env:PACKAGENAME + '.zip')" "bika"
- name: Upload
uses: actions/upload-artifact@v2
with:
name: ${{ env.PACKAGENAME }}
path: ${{ env.PACKAGENAME }}.zip
path: bika


macos:
Expand Down Expand Up @@ -123,8 +123,9 @@ jobs:
rm -rf dist/PicACG.app/Contents/MacOS/resources/*.py
create-dmg --volname "PicACG" --volicon "Icon.icns" --icon "Icon.icns" 200 190 \
--hide-extension "Icon.icns" ${{ env.PACKAGENAME }}.dmg dist/
zip -9 bika.zip ${{ env.PACKAGENAME }}.dmg
- name: Upload
uses: actions/upload-artifact@v2
with:
name: ${{ env.PACKAGENAME }}
path: ${{ env.PACKAGENAME }}.dmg
path: bika.zip

0 comments on commit fd197b1

Please sign in to comment.