From faf84e69b4953157457d9a6070805fc9bd4d50a5 Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Thu, 19 Oct 2023 02:00:19 +0800 Subject: [PATCH] Fix winget release submission error (#10757) # Description Fix winget release submission error, more details could be found here: https://github.com/nushell/nushell/pull/5812#issuecomment-1768294811 @fdncred @wolimst # User-Facing Changes # Tests + Formatting # After Submitting --------- Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com> --- .github/workflows/nightly-build.yml | 6 ++++++ .github/workflows/release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 51bd540a4e..341de412d0 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -136,6 +136,9 @@ jobs: - name: Setup Rust toolchain and cache uses: actions-rust-lang/setup-rust-toolchain@v1.5.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.6 @@ -247,6 +250,9 @@ jobs: - name: Setup Rust toolchain and cache uses: actions-rust-lang/setup-rust-toolchain@v1.5.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.6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3037f713be..1fcedb6fd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,9 @@ jobs: - name: Setup Rust toolchain and cache uses: actions-rust-lang/setup-rust-toolchain@v1.5.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.6 @@ -168,6 +171,9 @@ jobs: - name: Setup Rust toolchain and cache uses: actions-rust-lang/setup-rust-toolchain@v1.5.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.6