From c4a4b873d3aff391e680703fb336140408a6c215 Mon Sep 17 00:00:00 2001 From: goat Date: Wed, 7 Dec 2022 23:29:31 +0100 Subject: [PATCH] ci: maybe try to update powershell before deploy? --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 598602be8..8d87e0f6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,6 +56,12 @@ jobs: run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch + # GitHub only ships the LTS, which is stuck on .NET 6 + - name: Install PowerShell latest + shell: pwsh + run: | + Invoke-Expression "& { $(Invoke-RestMethod https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet" + - name: Generate dalamud-distrib version file shell: pwsh env: