Skip to content

Commit 179644a

Browse files
committed
feat: enable increamental release for ecosystem ci build
1 parent ccc95d7 commit 179644a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ecosystem-benchmark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ permissions:
2424
# Allow commenting on pull requests
2525
pull-requests: write
2626

27+
env:
28+
# we are going to build release profile for benchmark
29+
CARGO_INCREMENTAL: 1
2730
jobs:
2831
build:
2932
name: Test Linux

.github/workflows/reusable-build-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Install Rust Toolchain
6565
uses: ./.github/actions/rustup
6666
with:
67-
key: ${{ inputs.target }}-${{ inputs.profile }}
67+
key: ${{ inputs.target }}-${{ inputs.profile }}-pshu-${{ inputs.prefer_docker == 'true' && 'docker' || 'native' }}
6868
# don't need use cache in self-hosted windows; benefits of build with cargo build are wasted by cache restore
6969
save-if: true
7070

0 commit comments

Comments
 (0)