Browse Source

fix for windows build

Thomas Buck 3 years ago
parent
commit
dd4294fd73
2 changed files with 9 additions and 6 deletions
  1. 6
    5
      .github/workflows/build.yml
  2. 3
    1
      build_win.sh

+ 6
- 5
.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: Show build results
49
-      run: |
50
-        ls build/win
51
-        ls build/dist
52
-      shell: bash
48
+    - name: Archive build result artifacts
49
+      uses: actions/upload-artifact@v2
50
+      with:
51
+        name: octotray_win
52
+        path: |
53
+          ${{ github.workspace }}/build/dist/OctoTray_Win.zip

+ 3
- 1
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
+
13
 cd ../..
15
 cd ../..
14
 mkdir -p build/dist
16
 mkdir -p build/dist
15
-cp -r build/win/* build/dist/
17
+cp -r build/win/OctoTray_Win.zip build/dist/

Loading…
Cancel
Save