Skip to content

Commit 5ee7406

Browse files
authored
fix(ci): ensure the dojo package is correctly checked (#3368)
1 parent eb1382e commit 5ee7406

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ jobs:
142142
143143
echo "Checking if Dojo Cairo packages v${VERSION_NO_V} exist on Scarb registry..."
144144
145-
# Check dojo_cairo_macros
145+
# Check dojo core
146146
if curl -f -s "https://scarbs.xyz/api/v1/dl/dojo/${VERSION_NO_V}" > /dev/null; then
147-
echo "✅ dojo_cairo_macros v${VERSION_NO_V} already exists"
148-
echo "macros_exists=true" >> $GITHUB_OUTPUT
147+
echo "✅ dojo core v${VERSION_NO_V} already exists"
148+
echo "core_exists=true" >> $GITHUB_OUTPUT
149149
else
150-
echo "❌ dojo_cairo_macros v${VERSION_NO_V} not found (404)"
151-
echo "macros_exists=false" >> $GITHUB_OUTPUT
150+
echo "❌ dojo core v${VERSION_NO_V} not found (404)"
151+
echo "core_exists=false" >> $GITHUB_OUTPUT
152152
fi
153153
154154
# Check dojo_cairo_test
@@ -169,10 +169,10 @@ jobs:
169169
echo "snf_test_exists=false" >> $GITHUB_OUTPUT
170170
fi
171171
172-
- name: Publish dojo_cairo_macros
173-
if: steps.check_packages.outputs.macros_exists == 'false'
172+
- name: Publish dojo core
173+
if: steps.check_packages.outputs.core_exists == 'false'
174174
run: |
175-
cd ./crates/dojo/macros
175+
cd ./crates/dojo/core
176176
SCARB_REGISTRY_AUTH_TOKEN=${{ secrets.SCARB_REGISTRY_AUTH_TOKEN }} scarb publish
177177
178178
- name: Publish dojo_cairo_test

crates/dojo/dojo-snf-test/Scarb.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["dojo", "starknet", "testing"]
1111

1212
[dependencies]
1313
starknet = "2.12"
14-
snforge_std = "0.50.0"
14+
snforge_std = "0.50"
1515
assert_macros = "2.12"
1616

1717
dojo = { path = "../core", version = "1.7" }

spawn-and-move-db.tar.gz

2.84 KB
Binary file not shown.

0 commit comments

Comments
 (0)