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
       run: |
45
       run: |
46
         ./build_win.sh
46
         ./build_win.sh
47
       shell: bash
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
     - name: Archive build result artifacts
51
     - name: Archive build result artifacts
49
       uses: actions/upload-artifact@v2
52
       uses: actions/upload-artifact@v2
50
       with:
53
       with:

+ 2
- 4
build_win.sh View File

10
 cd build/win
10
 cd build/win
11
 python setup_win.py py2exe
11
 python setup_win.py py2exe
12
 
12
 
13
-zip -r OctoTray_Win.zip dist/*
14
-
15
 cd ../..
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