aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-09-30 20:01:33 -0700
committerMicah Lee <micah@micahflee.com>2022-09-30 20:01:33 -0700
commit617af6973742f9ec7f84e2c03297523868bd2fc2 (patch)
tree04b1b26e45f17f59065c701b0c2e69fe7e9b0c5a /.github
parent34a10b5ccfdef9a6f4b45ec419cfcbe8ccb8e8a3 (diff)
downloadonionshare-617af6973742f9ec7f84e2c03297523868bd2fc2.tar.gz
onionshare-617af6973742f9ec7f84e2c03297523868bd2fc2.zip
Add compression
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml23
1 files changed, 20 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3d10b743..b6afc5bd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -94,10 +94,16 @@ jobs:
C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts\poetry run python .\setup-freeze.py build
C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts\poetry run python .\scripts\build-windows.py cleanup-build
+ - name: Compress
+ shell: pwsh
+ run: |
+ mv desktop\build\exe.win-amd64-3.9\ ~\onionshare-win64
+ Compress-Archive -LiteralPath ~\onionshare-win64 -DestinationPath ~\onionshare-win64.zip
+
- uses: actions/upload-artifact@v3
with:
name: win64-build
- path: desktop\build\exe.win-amd64-3.9
+ path: desktop\build\exe.win-amd64-3.9=
build-win32:
runs-on: windows-latest
@@ -192,10 +198,16 @@ jobs:
C:\hostedtoolcache\windows\Python\3.9.13\x86\Scripts\poetry run python .\setup-freeze.py build
C:\hostedtoolcache\windows\Python\3.9.13\x86\Scripts\poetry run python .\scripts\build-windows.py cleanup-build
+ - name: Compress
+ shell: pwsh
+ run: |
+ mv desktop\build\exe.win32-3.9\ ~\onionshare-win32
+ Compress-Archive -LiteralPath ~\onionshare-win32 -DestinationPath ~\onionshare-win32.zip
+
- uses: actions/upload-artifact@v3
with:
name: win32-build
- path: desktop\build\exe.win32-3.9
+ path: ~\onionshare-win32.zip
build-mac:
runs-on: macos-latest
@@ -277,7 +289,12 @@ jobs:
poetry run python ./setup-freeze.py bdist_mac
poetry run python ./scripts/build-macos.py cleanup-build
+ - name: Compress
+ run: |
+ cd ~/project/desktop/build
+ tar -czvf ~/onionshare-macos.tar.gz OnionShare.app
+
- uses: actions/upload-artifact@v3
with:
name: mac-build
- path: OnionShare.app
+ path: ~/onionshare-macos.tar.gz