File tree 1 file changed +6
-13
lines changed
1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 5
5
tags :
6
6
- " *"
7
7
8
- env :
9
- NODECG_VERSION : latest
10
-
11
8
jobs :
12
9
build :
13
10
runs-on : ubuntu-latest
@@ -24,21 +21,17 @@ jobs:
24
21
with :
25
22
file : cq-dashboard.zip
26
23
overwrite : true
27
-
28
- - uses : dsaltares/fetch-gh-release-asset@master
24
+ - uses : actions/checkout@v3
29
25
with :
30
- repo : nodecg/nodecg
31
- version : ${{ env.NODECG_VERSION }}
32
- file : " nodecg-.*\\ .tgz"
33
- regex : true
34
- - run : tar zxvf nodecg-*.tgz
35
- - run : mv package/ nodecg/
36
- - run : npm i --omit=dev
37
- working-directory : ./nodecg
26
+ repository : nodecg/nodecg
27
+ path : nodecg
28
+ ref : v1.9.0
38
29
- run : curl https://nodejs.org/dist/latest-v18.x/win-x64/node.exe --output nodecg/node.exe
39
30
- run : echo "node.exe index.js" > nodecg/run.bat
40
31
- run : mkdir nodecg/bundles/cq-dashboard
41
32
- run : cp -r dashboard package.json LICENSE nodecg/bundles/cq-dashboard
33
+ - run : npm i --production
34
+ working-directory : ./nodecg
42
35
- run : zip -r cq-nodecg.zip nodecg/
43
36
- uses : svenstaro/upload-release-action@v2
44
37
with :
You can’t perform that action at this time.
0 commit comments