Skip to content

Commit

Permalink
Chain to run after CI
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Feb 9, 2024
1 parent 258cb7c commit 85948cf
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
name: Bench
on:
push:
branches: ["main"]
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"]
pull_request:
branches: ["main"]
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"]
# on:
# workflow_run:
# workflows: [CI]
# types: [completed]
workflow_run:
workflows: [CI]
types: [completed]
env:
CARGO_PROFILE_BENCH_BUILD_OVERRIDE_DEBUG: true
CARGO_TERM_COLOR: always
Expand All @@ -32,9 +25,11 @@ jobs:
toolchain: $TOOLCHAIN
components: rustfmt

- name: Use sccache
- name: Install sccache
uses: mozilla-actions/[email protected]
- run: |

- name: Enable sccache
run: |
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 85948cf

Please sign in to comment.