Browse Source

powershell for windows build zipping

Thomas Buck 3 years ago
parent
commit
8ed9cf6c3d
2 changed files with 5 additions and 4 deletions
  1. 3
    0
      .github/workflows/build.yml
  2. 2
    4
      build_win.sh

+ 3
- 0
.github/workflows/build.yml View File

@@ -45,6 +45,9 @@ jobs:
45 45
       run: |
46 46
         ./build_win.sh
47 47
       shell: bash
48
+    - name: Create archive of build results
49
+      run: |
50
+        powershell Compress-Archive build/dist/win build/dist/OctoTray_Win.zip
48 51
     - name: Archive build result artifacts
49 52
       uses: actions/upload-artifact@v2
50 53
       with:

+ 2
- 4
build_win.sh View File

@@ -10,8 +10,6 @@ cp dist/setup_win.py build/win/
10 10
 cd build/win
11 11
 python setup_win.py py2exe
12 12
 
13
-zip -r OctoTray_Win.zip dist/*
14
-
15 13
 cd ../..
16
-mkdir -p build/dist
17
-cp -r build/win/OctoTray_Win.zip build/dist/
14
+mkdir -p build/dist/win
15
+cp -r build/win/dist/* build/dist/win/

Loading…
Cancel
Save