Skip to content

Commit 969d6a2

Browse files
committed
publish action script for github
1 parent 2f0ef4b commit 969d6a2

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/publish.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Publish the App
2+
3+
on:
4+
release:
5+
types:
6+
- prereleased
7+
- released
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
build_on_linux:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v5
18+
- uses: actions/setup-node@v5
19+
with:
20+
node-version: 22
21+
- name: install dependencies
22+
run: npm install
23+
- name: publish
24+
run: npm run publish
25+
26+
build_on_mac:
27+
runs-on: macos-latest
28+
steps:
29+
- uses: actions/checkout@v5
30+
- uses: actions/setup-node@v5
31+
with:
32+
node-version: 22
33+
- name: install dependencies
34+
run: npm install
35+
- name: publish
36+
run: npm run publish
37+
38+
build_on_win:
39+
runs-on: windows-latest
40+
steps:
41+
- uses: actions/checkout@v5
42+
- uses: actions/setup-node@v5
43+
with:
44+
node-version: 22
45+
- name: install dependencies
46+
run: npm install
47+
- name: publish
48+
run: npm run publish

0 commit comments

Comments
 (0)