File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 3
3
release :
4
4
types : [created]
5
5
jobs :
6
-
7
- build :
8
- runs-on : ubuntu-latest
9
- steps :
10
- - uses : actions/checkout@v3
11
- - uses : actions/setup-node@v3
12
- with :
13
- node-version : 16
14
- - run : npm ci
15
- - run : npm test
16
6
17
7
publish-npm :
18
8
runs-on : ubuntu-latest
19
- needs : build
20
9
steps :
21
10
- uses : actions/checkout@v3
22
11
- uses : actions/setup-node@v3
27
16
- run : npm publish
28
17
env :
29
18
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
19
+
20
+ discord-notification :
21
+ runs-on : ubuntu-latest
22
+ needs : publish-npm
23
+
24
+ env :
25
+ DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK }}
26
+ steps :
27
+ -
uses :
Ilshidur/[email protected]
28
+ - with :
29
+ args : ' shader-park-core {{ EVENT_PAYLOAD.package_version.version }} has been published! {{ EVENT_PAYLOAD.package_version.release.url }}'
30
30
You can’t perform that action at this time.
0 commit comments