-
Notifications
You must be signed in to change notification settings - Fork 72
41 lines (38 loc) · 929 Bytes
/
publish-windows.yml
File metadata and controls
41 lines (38 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# name: Publish Windows Bundle
# on:
# push:
# branches:
# - master
# tags:
# - v*
# jobs:
# build:
# runs-on: windows-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Setup NodeJS
# uses: actions/setup-node@v2
# with:
# node-version: '12'
# - name: Setup Env
# run: |
# npm i
# npm i -g nexe
# - name: Build bundle
# run: |
# npm run winbundle
# - name: Upload Bundle File
# uses: actions/upload-artifact@v2
# with:
# name: Bundle
# path: dist\*.zip
# - name: Upload Bundle to Release
# uses: svenstaro/upload-release-action@v2
# if: startsWith(github.ref, 'refs/tags/')
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: dist\*.zip
# file_glob: true
# tag: ${{ github.ref }}
# overwrite: true