From 348357708aa6aae94dd65c0fc3d4c276a7825fc4 Mon Sep 17 00:00:00 2001 From: NotNotARobot <164791169+NotNotARobot@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:34:37 -0500 Subject: [PATCH] feat: store env in YAML, --- .github/workflows/base_checks.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base_checks.yaml b/.github/workflows/base_checks.yaml index 78d10d86e2..0efac3fa98 100644 --- a/.github/workflows/base_checks.yaml +++ b/.github/workflows/base_checks.yaml @@ -11,6 +11,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} +env: + RUSTC_WRAPPER: sccache + SCCACHE_CACHE_SIZE: 100G + jobs: compile-and-check: runs-on: [self-hosted, Linux, X64] @@ -24,8 +28,6 @@ jobs: if ! command -v sccache; then cargo install sccache --locked fi - echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV - echo "SCCACHE_CACHE_SIZE=100G" >> $GITHUB_ENV - name: Install & display rust toolchain run: rustup show