File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
branches : [ main ]
9
9
pull_request :
10
10
branches : [ main ]
11
- workflow_dispatch :
12
11
13
12
jobs :
14
13
make-release :
15
14
runs-on : ubuntu-latest
16
-
17
15
steps :
18
16
- uses : actions/checkout@v2
19
17
- name : Use Node.js ${{ matrix.node-version }}
23
21
cache : ' npm'
24
22
- run : npm ci
25
23
- run : npm run build --if-present
24
+ - run : cp src/meta.user.js build/userscript.meta.js
26
25
- name : Create Release
27
26
# You may pin to the exact commit or the version.
28
27
# uses: ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e
31
30
token : ${{ secrets.GITHUB_TOKEN }}
32
31
tag : v${{ github.run_number }}
33
32
name : release v${{ github.run_number }}
34
- artifact : build/calculator.user.js
33
+ artifacts : build/*
34
+ artifactErrorsFailBuild : true
You can’t perform that action at this time.
0 commit comments