We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d63fcf1 commit 4151e25Copy full SHA for 4151e25
1 file changed
.github/workflows/node.js.yml
@@ -8,12 +8,10 @@ on:
8
branches: [ main ]
9
pull_request:
10
11
- workflow_dispatch:
12
13
jobs:
14
make-release:
15
runs-on: ubuntu-latest
16
-
17
steps:
18
- uses: actions/checkout@v2
19
- name: Use Node.js ${{ matrix.node-version }}
@@ -23,6 +21,7 @@ jobs:
23
21
cache: 'npm'
24
22
- run: npm ci
25
- run: npm run build --if-present
+ - run: cp src/meta.user.js build/userscript.meta.js
26
- name: Create Release
27
# You may pin to the exact commit or the version.
28
# uses: ncipollo/release-action@10c84d509b28aae3903113151bfd832314964f2e
@@ -31,4 +30,5 @@ jobs:
31
30
token: ${{ secrets.GITHUB_TOKEN }}
32
tag: v${{ github.run_number }}
33
name: release v${{ github.run_number }}
34
- artifact: build/calculator.user.js
+ artifacts: build/*
+ artifactErrorsFailBuild: true
0 commit comments