aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-09-30 19:40:37 -0700
committerMicah Lee <micah@micahflee.com>2022-09-30 19:40:37 -0700
commitd37316b589077651b6777337768c7bc9da21f0d1 (patch)
tree37577082bba1994b368b2bc86f9e9e770739047e /.github
parent9f50e6783340bef4581ed798cb91865f302bfa91 (diff)
downloadonionshare-d37316b589077651b6777337768c7bc9da21f0d1.tar.gz
onionshare-d37316b589077651b6777337768c7bc9da21f0d1.zip
Install missing module inside the poetry env, and skip compressing step because GitHub Actions does that for you
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml31
1 files changed, 7 insertions, 24 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c63933e7..3854e89d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -93,17 +93,11 @@ jobs:
cd desktop
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: ~\onionshare-win64.zip
+ path: desktop\build\exe.win-amd64-3.9
build-win32:
runs-on: windows-latest
@@ -197,17 +191,11 @@ jobs:
cd desktop
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: ~\onionshare-win32.zip
+ path: desktop\build\exe.win32-3.9
build-mac:
runs-on: macos-latest
@@ -283,17 +271,12 @@ jobs:
- name: Build OnionShare
run: |
cd desktop
- python3 -m pip install importlib-metadata
+ poetry run pip install importlib-metadata
poetry run python ./setup-freeze.py build
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-macos.tar.gz
+ path: OnionShare.app