Skip to content

Commit

Permalink
Explicitly touch version.rs to invalidate the related cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rcny committed Dec 1, 2022
1 parent 5268d83 commit 9d00ccf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ci/gitlab/pipeline/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ build-linux-substrate:
before_script:
- mkdir -p ./artifacts/substrate/
- !reference [.rusty-cachier, before_script]
# explicitly touch to invalidate crate's cache that persists substrate version string
- touch utils/build-script-utils/src/version.rs
script:
- rusty-cachier snapshot create
- WASM_BUILD_NO_COLOR=1 time cargo build --locked --release --verbose
Expand Down

0 comments on commit 9d00ccf

Please sign in to comment.