File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,11 +188,20 @@ jobs:
188188 working-directory : pic-scale-js
189189 run : npm install
190190
191- - name : Download all artifacts
191+ - name : Download artifacts (this run)
192+ if : ${{ !inputs.skip_build }}
192193 uses : actions/download-artifact@v6
193194 with :
194195 path : pic-scale-js/artifacts/
195196
197+ - name : Download artifacts (previous run)
198+ if : ${{ inputs.skip_build != '' }}
199+ uses : actions/download-artifact@v6
200+ with :
201+ path : pic-scale-js/artifacts/
202+ run-id : ${{ inputs.skip_build }}
203+ github-token : ${{ secrets.GITHUB_TOKEN }}
204+
196205 - name : Extract version from Cargo.toml
197206 id : version
198207 working-directory : pic-scale-js
@@ -246,5 +255,5 @@ jobs:
246255 > dist/package.tmp && mv dist/package.tmp dist/package.json
247256
248257 - name : Publish dist/
249- working-directory : pic-scale-js
250- run : npm ci && npm publish dist/ --provenance --access public
258+ working-directory : pic-scale-js/dist
259+ run : npm ci && npm publish --provenance --access public
You can’t perform that action at this time.
0 commit comments