Skip to content

Commit

Permalink
Disable sccache-cache for nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Jun 2, 2024
1 parent dfa9d51 commit 0745b24
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ defaults:
run:
shell: bash

env:
RUSTC_WRAPPER: 'sccache'
SCCACHE_GHA_ENABLED: 'true'

jobs:
prepare:
name: Prepare
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -136,17 +132,14 @@ 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`
with:
rustflags: ''

- name: Setup Nushell
uses: hustcer/setup-nu@v3.10
uses: hustcer/setup-nu@v3.11
with:
version: 0.93.0

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0745b24

Please sign in to comment.