Skip to content

Commit a6fedf5

Browse files
committed
Use scarbs.dev
1 parent b40b889 commit a6fedf5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish_plugins.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,27 @@ jobs:
3535
id: check-plugins
3636
run: |
3737
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
4242
4343
- name: Publish starknet
4444
if: steps.check-plugins.outputs.starknet_exists != 'true'
4545
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
4747

4848
- name: Publish cairo_run
4949
if: steps.check-plugins.outputs.cairo_run_exists != 'true'
5050
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
5252

5353
- name: Publish cairo_test
5454
if: steps.check-plugins.outputs.cairo_test_exists != 'true'
5555
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
5757

5858
- name: Publish assert_macros
5959
if: steps.check-plugins.outputs.assert_macros_exists != 'true'
6060
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

Comments
 (0)