瀏覽代碼

powershell for windows build zipping

Thomas Buck 3 年之前
父節點
當前提交
8ed9cf6c3d
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 3
    0
      .github/workflows/build.yml
  2. 2
    4
      build_win.sh

+ 3
- 0
.github/workflows/build.yml 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存