From 7da5d9aa880f17be5e922118e7ff174df496e29f Mon Sep 17 00:00:00 2001 From: "Erik A. Brandstadmoen" Date: Thu, 6 Apr 2023 12:14:43 +0200 Subject: [PATCH] Disable creation of winget package on deploy - it has dependencies on published artifacts (which are not published yet) --- .github/workflows/build.yml | 50 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 305c9663..c73e4b25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -224,31 +224,31 @@ jobs: name: grate_${{ needs.set-version-number.outputs.nuGetVersion }}-1_${{ steps.get-arch.outputs.arch}}.deb path: ./installers/deb/grate_${{ needs.set-version-number.outputs.nuGetVersion }}-1_${{ steps.get-arch.outputs.arch }}.deb - build-winget: - name: Winget - Update package manifest in the OWC - needs: - - set-version-number - - build-msi - runs-on: windows-latest - if: ${{ needs.set-version-number.outputs.is-release == 'true' }} - - steps: - - name: Winget-Create - run: | - - $version = "$($env:version)" - - # Download wingetcreate - iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe - - $packageUrl="https://github.com/erikbra/grate/releases/download/$version/grate-$version.msi" - - echo "Running ./wingetcreate.exe update erikbra.grate -u $packageUrl -v $version -t `"$env:WINGET_GH_PAT`" --submit" - ./wingetcreate.exe update erikbra.grate -u $packageUrl -v $version -t "$env:WINGET_GH_PAT" --submit - env: - WINGET_GH_PAT: ${{ secrets.WINGET_GH_PAT }} - #version: "1.4.0" - version: "${{ needs.set-version-number.outputs.nuGetVersion }}" + # build-winget: + # name: Winget - Update package manifest in the OWC + # needs: + # - set-version-number + # - build-msi + # runs-on: windows-latest + # if: ${{ needs.set-version-number.outputs.is-release == 'true' }} + + # steps: + # - name: Winget-Create + # run: | + + # $version = "$($env:version)" + + # # Download wingetcreate + # iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe + + # $packageUrl="https://github.com/erikbra/grate/releases/download/$version/grate-$version.msi" + + # echo "Running ./wingetcreate.exe update erikbra.grate -u $packageUrl -v $version -t `"$env:WINGET_GH_PAT`" --submit" + # ./wingetcreate.exe update erikbra.grate -u $packageUrl -v $version -t "$env:WINGET_GH_PAT" --submit + # env: + # WINGET_GH_PAT: ${{ secrets.WINGET_GH_PAT }} + # #version: "1.4.0" + # version: "${{ needs.set-version-number.outputs.nuGetVersion }}" test: