Skip to content

Commit 4afe687

Browse files
committed
wip
1 parent 830d684 commit 4afe687

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,15 @@ jobs:
6363
version: latest
6464
file: build/graal/spp-cli.exe
6565
args: '-7'
66+
67+
- name: Zip CLI
68+
run: zip spp-cli-win64.zip -j build/graal/spp-cli.exe
69+
6670
- uses: actions/upload-artifact@v2
6771
with:
6872
if-no-files-found: warn
69-
name: spp-cli.exe
70-
path: build/graal/spp-cli.exe
73+
name: spp-cli-win64.zip
74+
path: ./spp-cli-win64.zip
7175

7276
buildOnLinux:
7377
runs-on: ubuntu-latest
@@ -172,7 +176,7 @@ jobs:
172176

173177
releaseDraft:
174178
name: Release Draft
175-
needs: [ buildOnMac, buildOnLinux ]
179+
needs: [ buildOnMac, buildOnWindows, buildOnLinux ]
176180
runs-on: ubuntu-latest
177181
if: github.ref == 'refs/heads/master'
178182
steps:
@@ -213,6 +217,21 @@ jobs:
213217
asset_name: spp-cli-${{ needs.buildOnLinux.outputs.version }}-macOS.zip
214218
asset_content_type: application/zip
215219

220+
- name: Download spp-cli-win64 artifact
221+
uses: actions/download-artifact@v2
222+
with:
223+
name: spp-cli-win64.zip
224+
225+
- name: Upload spp-cli-win64 asset
226+
uses: actions/upload-release-asset@v1
227+
env:
228+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
229+
with:
230+
upload_url: ${{ steps.createDraft.outputs.upload_url }}
231+
asset_path: ./spp-cli-win64.zip
232+
asset_name: spp-cli-${{ needs.buildOnWindows.outputs.version }}-win64.zip
233+
asset_content_type: application/zip
234+
216235
- name: Download spp-cli-linux64 artifact
217236
uses: actions/download-artifact@v2
218237
with:

0 commit comments

Comments
 (0)