From 3c56edb56c29fa07da6f5564b7d7c23dc1558d80 Mon Sep 17 00:00:00 2001 From: ChaudharyRaman Date: Tue, 26 Mar 2024 12:40:19 +0530 Subject: [PATCH] change build_xline workflow Signed-off-by: ChaudharyRaman --- .github/workflows/build_xline.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_xline.yml b/.github/workflows/build_xline.yml index 3a1e8552b..8de0cb6a9 100644 --- a/.github/workflows/build_xline.yml +++ b/.github/workflows/build_xline.yml @@ -1,4 +1,6 @@ name: Build Xline +env: + CI_RUST_TOOLCHAIN: 1.71.0 on: workflow_call: inputs: @@ -41,6 +43,13 @@ jobs: with: submodules: recursive + - name: Configure sccache + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); + - name: Build xline run: | docker run -q --rm -v $(pwd):/xline \