From f57d8dab6dc9d57a374f4aadc995a3410422595c Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 6 May 2022 17:34:04 +0200 Subject: [PATCH] instead of defining pwsh as default for winget job, only use it in specific step --- .github/workflows/win-exe.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 2709c15e2..fd13e0501 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -192,9 +192,6 @@ jobs: name: Publish on winget repo runs-on: windows-latest needs: [build-msi] - defaults: - run: - shell: pwsh steps: - name: Submit package to Windows Package Manager Community Repository run: | @@ -202,6 +199,7 @@ jobs: $github = Get-Content '${{ github.event_path }}' | ConvertFrom-Json $installerUrl = $github.release.assets | Where-Object -Property name -match 'Cryptomator-*.msi' | Select -ExpandProperty browser_download_url -First 1 .\wingetcreate.exe update Cryptomator.Cryptomator -s -v $github.release.tag_name -u $installerUrl -t ${{ secrets.CRYPTOBOT_WINGET_TOKEN }} + shell: pwsh build-exe: name: Build .exe installer