Skip to content

Commit 7513b1a

Browse files
authored
ensure artifacts folder exists when deploying rust bindings (#5588)
1 parent 80f304e commit 7513b1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy-npm-ironfish-rust-nodejs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
run: ls -R .
4343
shell: bash
4444

45+
- name: Verify artifacts exist
46+
run: |
47+
if [ -z "$(ls -A './artifacts')" ]; then
48+
echo "artifacts folder was empty. ironfish-rust-nodejs artifacts were not uploaded correctly."
49+
exit 1
50+
fi
51+
4552
- name: Move and publish artifacts
4653
run: yarn artifacts
4754

0 commit comments

Comments
 (0)