We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 038066f commit 03bab4cCopy full SHA for 03bab4c
1 file changed
.github/workflows/npm-package.yml
@@ -17,6 +17,11 @@ on:
17
default: ""
18
type: string
19
20
+ extra_artifact:
21
+ required: false
22
+ default: ""
23
+ type: string
24
+
25
jobs:
26
publish-npm:
27
runs-on: ubuntu-latest
@@ -37,6 +42,12 @@ jobs:
37
42
- name: Install TypeScript 5.6.2
38
43
run: npm install -g typescript@5.6.2
39
44
45
+ - name: Download extra artifact
46
+ if: ${{ extra_artifact != '' }}
47
+ uses: actions/download-artifact@v8
48
+ with:
49
+ name: ${{ extra_artifact }}
50
40
51
- name: Gather/build the packages
41
52
run: conan install --requires "${{ inputs.package_version_full }}" -pr:h cura_wasm.jinja -g npm --build=missing --update ${{ inputs.conan_extra_args }} -of .
53
@@ -46,7 +57,6 @@ jobs:
57
registry-url: 'https://npm.pkg.github.com'
58
scope: '@ultimaker'
59
-
60
- name: Publish to GitHub Packages
61
run: |
62
npm publish
0 commit comments