Skip to content

Commit fe039ba

Browse files
committed
fix(cd): keep pgo profiles on second and third runs
Signed-off-by: azjezz <[email protected]>
1 parent 251b3c1 commit fe039ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ jobs:
195195
if [[ "${{ matrix.job.pgo }}" == "true" ]]; then
196196
cargo pgo build -- --target=${{ matrix.job.target }}
197197
cargo pgo run -- -- --workspace corpus/ analyze --reporting-format count || true
198-
cargo pgo run -- -- --workspace corpus/ lint --reporting-format count || true
199-
cargo pgo run -- -- --workspace corpus/ fmt --check || true
198+
cargo pgo run --keep-profiles -- -- --workspace corpus/ lint --reporting-format count || true
199+
cargo pgo run --keep-profiles -- -- --workspace corpus/ fmt --check || true
200200
cargo pgo optimize -- build --target=${{ matrix.job.target }}
201201
else
202202
$BUILD_CMD build --locked --release --target=${{ matrix.job.target }}

0 commit comments

Comments
 (0)