File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,15 +202,15 @@ jobs:
202202 - name : Pack tarball
203203 working-directory : contracts
204204 run : |
205- npm pack --pack-destination ./dist
205+ npm pack
206206
207207 - name : Verify Package
208208 working-directory : contracts
209209 run : |
210- EXPECTED="./dist/ ${{ steps.set-publish-data.outputs.artifact-name }}"
210+ EXPECTED="./${{ steps.set-publish-data.outputs.artifact-name }}"
211211 if [[ ! -f "${EXPECTED}" ]]; then
212212 echo "::error::Expected package not found: ${EXPECTED}"
213- ls -la ./dist/
213+ ls -la .
214214 exit 1
215215 fi
216216 echo "Package verified: ${EXPECTED} ($(du -h "${EXPECTED}" | cut -f1))"
@@ -219,7 +219,7 @@ jobs:
219219 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
220220 with :
221221 name : contracts-npm-package
222- path : ./contracts/dist/ ${{ steps.set-publish-data.outputs.artifact-name }}
222+ path : ./contracts/${{ steps.set-publish-data.outputs.artifact-name }}
223223 if-no-files-found : error
224224
225225 - name : Close the Milestone
You can’t perform that action at this time.
0 commit comments