From 0745b243ef380021fc92bc098a4086aa42b4352a Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 2 Jun 2024 12:36:49 +0800 Subject: [PATCH] Disable sccache-cache for nightly builds --- .github/workflows/nightly-build.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 236db820e..c04c5c938 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -19,10 +19,6 @@ defaults: run: shell: bash -env: - RUSTC_WRAPPER: 'sccache' - SCCACHE_GHA_ENABLED: 'true' - jobs: prepare: name: Prepare @@ -31,7 +27,7 @@ jobs: # if: github.repository == 'nushell/nightly' steps: - name: Checkout - uses: actions/checkout@v4.1.5 + uses: actions/checkout@v4.1.6 if: github.repository == 'nushell/nightly' with: ref: main @@ -40,7 +36,7 @@ jobs: token: ${{ secrets.WORKFLOW_TOKEN }} - name: Setup Nushell - uses: hustcer/setup-nu@v3.10 + uses: hustcer/setup-nu@v3.11 if: github.repository == 'nushell/nightly' with: version: 0.93.0 @@ -127,7 +123,7 @@ jobs: runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v4.1.5 + - uses: actions/checkout@v4.1.6 with: ref: main fetch-depth: 0 @@ -136,9 +132,6 @@ jobs: run: | echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.4 - - name: Setup Rust toolchain and cache uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 # WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135` @@ -146,7 +139,7 @@ jobs: rustflags: '' - name: Setup Nushell - uses: hustcer/setup-nu@v3.10 + uses: hustcer/setup-nu@v3.11 with: version: 0.93.0 @@ -200,12 +193,12 @@ jobs: - name: Waiting for Release run: sleep 1800 - - uses: actions/checkout@v4.1.5 + - uses: actions/checkout@v4.1.6 with: ref: main - name: Setup Nushell - uses: hustcer/setup-nu@v3.10 + uses: hustcer/setup-nu@v3.11 with: version: 0.93.0