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,8 +45,9 @@ jobs:
45 45
       run: |
46 46
         ./build_win.sh
47 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,6 +10,8 @@ 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
+
13 15
 cd ../..
14 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