Skip to content

Commit 075b508

Browse files
committed
Change action archival
1 parent 2ae9456 commit 075b508

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/upload-artifact@v2
2222
with:
2323
name: UnityHubNative-Linux64
24-
path: build/Release/UnityHubNative-Linux.zip
24+
path: build/Release/UnityHubNative.AppImage
2525

2626
build-mac:
2727
name: Build App for macOS
@@ -35,13 +35,11 @@ jobs:
3535
run: mkdir -p build; cd build; cmake -G "Xcode" -DCMAKE_BUILD_TYPE=Release ..
3636
- name: Builld
3737
run: cd build; cmake --build . --config release --target install
38-
- name: Compress App
39-
run: cd build/release && zip -r -9 UnityHubNative-macOS.zip *.app
4038
- name: Archive and upload artifacts
4139
uses: actions/upload-artifact@v2
4240
with:
4341
name: UnityHubNative-macOS
44-
path: build/release/UnityHubNative-macOS.zip
42+
path: build/release/UnityHubNative.app
4543

4644
build-windows:
4745
name: Build App for Windows
@@ -54,11 +52,9 @@ jobs:
5452
- name: Configure
5553
run: mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=Release .. ;
5654
- name: Build
57-
run: cd build; cmake --build . --config release --target install
58-
- name: Compress App
59-
run: cd build\Release ; Compress-Archive -Path .\*.exe -DestinationPath UnityHubNative-win64.zip
55+
run: cd build; cmake --build . --config release --target installp
6056
- name: Archive and upload artifacts
6157
uses: actions/upload-artifact@v2
6258
with:
6359
name: UnityHubNative-win64
64-
path: build\release\UnityHubNative-win64.zip
60+
path: build\release\UnityHubNative.exe

0 commit comments

Comments
 (0)