From 0b061ce5805259512d0271018f6c145952fb1e7b Mon Sep 17 00:00:00 2001 From: Mateusz Gienieczko Date: Sun, 10 Sep 2023 17:07:58 +0100 Subject: [PATCH] bingo bango bongo --- .github/workflows/release.yml | 14 ++++++-------- .github/workflows/rust.yml | 14 ++++++-------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a1b1519..af707cd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,14 +107,12 @@ jobs: brew install llvm export PATH=/usr/local/opt/llvm/bin:$PATH export LD_LIBRARY_PATH=$(llvm-config --libdir):$LD_LIBRARY_PATH - - name: Install winget (Windows) - if: matrix.os == 'windows-latest' - uses: Cyberboss/install-winget@3301de662a82d09e8aded238e995a8e1259159c8 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - #- name: Install lld (Windows) - # if: matrix.os == 'windows-latest' - # run: winget install LLVM.LLVM --accept-source-agreements --accept-package-agreements + - name: Download lld (Windows) + shell: powershell + run: | + $ProgressPreference = 'SilentlyContinue' + Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx + Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx - name: Install Rust toolchain (stable) uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0 # stable with: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 42f5c2f6..e84de659 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -104,14 +104,12 @@ jobs: brew install llvm export PATH=/usr/local/opt/llvm/bin:$PATH export LD_LIBRARY_PATH=$(llvm-config --libdir):$LD_LIBRARY_PATH - - name: Install winget (Windows) - if: matrix.os == 'windows-latest' - uses: Cyberboss/install-winget@3301de662a82d09e8aded238e995a8e1259159c8 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - #- name: Install lld (Windows) - # if: matrix.os == 'windows-latest' - # run: winget install LLVM.LLVM --accept-source-agreements --accept-package-agreements + - name: Download lld (Windows) + shell: powershell + run: | + $ProgressPreference = 'SilentlyContinue' + Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx + Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx - name: Checkout sources uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 with: