-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (48 loc) · 1.35 KB
/
release.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: release
on:
workflow_dispatch:
workflow_call:
push:
# branches:
# - main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
# release-linux:
# runs-on: ubuntu-latest
# timeout-minutes: 15
# steps:
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# - run: npm ci
# - run: npm run build:linux
# - run: npm run release:linux
release-windows:
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: actions/setup-java@v4
with:
distribution: 'microsoft' # See 'Supported distributions' for available options
java-version: '17'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- run: java -jar ./sign-win/jsign-5.0.jar
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# - run: npm ci
# - run: npm run build:win
# - run: npm run release:win
# release-mac:
# runs-on: macos-latest
# timeout-minutes: 15
# steps:
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# - run: npm ci
# - run: npm run build
# - run: npm run release:mac