From bf8140ac6ad42f827528a13a69242fcf75873fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=BDubom=C3=ADr=20Kur=C4=8D=C3=A1k?= Date: Wed, 22 May 2024 19:05:27 +0200 Subject: [PATCH] Mend install pipeline (#32) --- .github/workflows/install.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index a64f12d..5ca68ee 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -18,7 +18,8 @@ jobs: toolchain: stable - name: Install - run: cargo install --verbose + run: | + cargo install tend --verbose snap: runs-on: ubuntu-latest @@ -35,7 +36,8 @@ jobs: sudo ln -s /var/lib/snapd/snap /snap - name: Ensure snapd is running - run: sudo systemctl start snapd + run: | + sudo systemctl start snapd - name: Install run: | @@ -51,27 +53,15 @@ jobs: winget: runs-on: windows-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Install winget - shell: pwsh - run: | - $progressPreference = 'silentlyContinue' - Write-Information "Downloading WinGet and its dependencies..." - Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle - Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx - Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx - Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx - Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx - Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle - + uses: Cyberboss/install-winget@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install run: | - winget install lubomirkurcak.tend + winget install lubomirkurcak.tend --disable-interactivity --accept-source-agreements - name: List installed packages run: |