diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index a09384f76..5c57ebf5b 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -68,9 +68,11 @@ jobs: - name: Patch dependencies run: | # Patches native dependency to local path, to use current cairo native version - sed -Ei 's/(\/\/cairo_native\.git").*/\1, path = "cairo_native" }/' Cargo.toml + NEW_PATH="path = 'cairo_native'" + sed -Ei "s/^(cairo-native = \{).*/\1$NEW_PATH }/" Cargo.toml # Patches sequencer dependency to specified rev - sed -Ei 's/(\/\/sequencer\.git").*/\1, rev = "$SEQUENCER_REV" }/' Cargo.toml + NEW_PATH="git = 'https://github.com/lambdaclass/sequencer', rev = '$SEQUENCER_REV'" + sed -Ei "s/^(sequencer = \{).*/\1$NEW_PATH }/" Cargo.toml - name: Run with Native run: |