Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ jobs:

echo "Checking if Dojo Cairo packages v${VERSION_NO_V} exist on Scarb registry..."

# Check dojo_cairo_macros
# Check dojo core
if curl -f -s "https://scarbs.xyz/api/v1/dl/dojo/${VERSION_NO_V}" > /dev/null; then
echo "✅ dojo_cairo_macros v${VERSION_NO_V} already exists"
echo "macros_exists=true" >> $GITHUB_OUTPUT
echo "✅ dojo core v${VERSION_NO_V} already exists"
echo "core_exists=true" >> $GITHUB_OUTPUT
else
echo "❌ dojo_cairo_macros v${VERSION_NO_V} not found (404)"
echo "macros_exists=false" >> $GITHUB_OUTPUT
echo "❌ dojo core v${VERSION_NO_V} not found (404)"
echo "core_exists=false" >> $GITHUB_OUTPUT
fi

# Check dojo_cairo_test
Expand All @@ -169,10 +169,10 @@ jobs:
echo "snf_test_exists=false" >> $GITHUB_OUTPUT
fi

- name: Publish dojo_cairo_macros
if: steps.check_packages.outputs.macros_exists == 'false'
- name: Publish dojo core
if: steps.check_packages.outputs.core_exists == 'false'
run: |
cd ./crates/dojo/macros
cd ./crates/dojo/core
SCARB_REGISTRY_AUTH_TOKEN=${{ secrets.SCARB_REGISTRY_AUTH_TOKEN }} scarb publish

- name: Publish dojo_cairo_test
Expand Down
2 changes: 1 addition & 1 deletion crates/dojo/dojo-snf-test/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["dojo", "starknet", "testing"]

[dependencies]
starknet = "2.12"
snforge_std = "0.50.0"
snforge_std = "0.50"
assert_macros = "2.12"

dojo = { path = "../core", version = "1.7" }
Expand Down
Binary file modified spawn-and-move-db.tar.gz
Binary file not shown.
Loading