Skip to content

Commit 43717f9

Browse files
authored
Update build.yml
1 parent ccfbab2 commit 43717f9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646

4747
buildOnWindows:
4848
runs-on: windows-2019
49+
timeout-minutes: 20
4950

5051
steps:
5152
- uses: actions/checkout@v2
@@ -72,7 +73,8 @@ jobs:
7273
args: '-7'
7374

7475
- name: Zip CLI
75-
run: jar -cfM spp-cli-win64.zip build/graal/
76+
run: Compress-Archive -LiteralPath build/graal/spp-cli.exe -DestinationPath spp-cli-win64.zip
77+
shell: powershell
7678

7779
- uses: actions/upload-artifact@v2
7880
with:
@@ -239,7 +241,7 @@ jobs:
239241
with:
240242
upload_url: ${{ steps.createDraft.outputs.upload_url }}
241243
asset_path: ./spp-cli-win64.zip
242-
asset_name: spp-cli-${{ needs.buildOnWindows.outputs.version }}-win64.zip
244+
asset_name: spp-cli-${{ needs.buildOnLinux.outputs.version }}-win64.zip
243245
asset_content_type: application/zip
244246

245247
- name: Download spp-cli-linux64 artifact

0 commit comments

Comments
 (0)