Bladeren bron

powershell for windows build zipping

Thomas Buck 3 jaren geleden
bovenliggende
commit
8ed9cf6c3d
2 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. 3
    0
      .github/workflows/build.yml
  2. 2
    4
      build_win.sh

+ 3
- 0
.github/workflows/build.yml Bestand weergeven

@@ -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 Bestand weergeven

@@ -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/

Laden…
Annuleren
Opslaan