@@ -35,27 +35,27 @@ jobs:
35
35
id : check-plugins
36
36
run : |
37
37
set -eo pipefail
38
- echo "assert_macros_exists=$(curl -s https://scarbs.xyz /api/v1/index/as/se/assert_macros.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
39
- echo "cairo_run_exists=$(curl -s https://scarbs.xyz /api/v1/index/ca/ir/cairo_run.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
40
- echo "starknet_exists=$(curl -s https://scarbs.xyz /api/v1/index/st/ar/starknet.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
41
- echo "cairo_test_exists=$(curl -s https://scarbs.xyz /api/v1/index/te/st/test_plugin.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
38
+ echo "assert_macros_exists=$(curl -s https://scarbs.dev /api/v1/index/as/se/assert_macros.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
39
+ echo "cairo_run_exists=$(curl -s https://scarbs.dev /api/v1/index/ca/ir/cairo_run.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
40
+ echo "starknet_exists=$(curl -s https://scarbs.dev /api/v1/index/st/ar/starknet.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
41
+ echo "cairo_test_exists=$(curl -s https://scarbs.dev /api/v1/index/te/st/test_plugin.json | jq --arg version "${{ steps.scarb-init.outputs.CAIRO_VERSION }}" '[.[] | select(.v == $version)] | length > 0')" >> $GITHUB_OUTPUT
42
42
43
43
- name : Publish starknet
44
44
if : steps.check-plugins.outputs.starknet_exists != 'true'
45
45
working-directory : $HOME/.cache/scarb/registry/std/v${{ steps.scarb-init.outputs.CAIRO_VERSION }}/starknet
46
- run : scarb publish --no-verify
46
+ run : scarb publish --index https://scarbs.dev -- no-verify
47
47
48
48
- name : Publish cairo_run
49
49
if : steps.check-plugins.outputs.cairo_run_exists != 'true'
50
50
working-directory : $HOME/.cache/scarb/registry/std/v${{ steps.scarb-init.outputs.CAIRO_VERSION }}/cairo_run
51
- run : scarb publish --no-verify
51
+ run : scarb publish --index https://scarbs.dev -- no-verify
52
52
53
53
- name : Publish cairo_test
54
54
if : steps.check-plugins.outputs.cairo_test_exists != 'true'
55
55
working-directory : $HOME/.cache/scarb/registry/std/v${{ steps.scarb-init.outputs.CAIRO_VERSION }}/test_plugin
56
- run : scarb publish --no-verify
56
+ run : scarb publish --index https://scarbs.dev -- no-verify
57
57
58
58
- name : Publish assert_macros
59
59
if : steps.check-plugins.outputs.assert_macros_exists != 'true'
60
60
working-directory : $HOME/.cache/scarb/registry/std/v${{ steps.scarb-init.outputs.CAIRO_VERSION }}/assert_macros
61
- run : scarb publish --no-verify
61
+ run : scarb publish --index https://scarbs.dev -- no-verify
0 commit comments