Skip to content

Commit

Permalink
Fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Oct 25, 2024
1 parent 4171eff commit d1bc941
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit d1bc941

Please sign in to comment.