ci(windows): disable winget until further testing (#1193)

This commit is contained in:
Baptiste Augrain 2022-08-14 11:22:00 +02:00 committed by GitHub
parent 86456d833f
commit ed5a695d2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,20 +96,20 @@ jobs:
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.repository_owner }}
- name: Set MS_TAG as job output for release-winget job
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
run: echo "::set-output name=tagname::${{ env.MS_TAG }}"
# - name: Set MS_TAG as job output for release-winget job
# if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
# run: echo "::set-output name=tagname::${{ env.MS_TAG }}"
release-winget:
name: Release to WinGet
needs: windows
if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
runs-on: windows-latest # action can only be run on windows
steps:
- name: Release to WinGet
uses: vedantmgoyal2009/winget-releaser@latest
with:
identifier: VSCodium.VSCodium
release-tag: ${{ needs.windows.outputs.tagname }}
installers-regex: '\.exe$' # only .exe files
token: ${{ secrets.STRONGER_GITHUB_TOKEN }}
# release-winget:
# name: Release to WinGet
# needs: windows
# if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
# runs-on: windows-latest # action can only be run on windows
# steps:
# - name: Release to WinGet
# uses: vedantmgoyal2009/winget-releaser@latest
# with:
# identifier: VSCodium.VSCodium
# release-tag: ${{ needs.windows.outputs.tagname }}
# installers-regex: '\.exe$' # only .exe files
# token: ${{ secrets.STRONGER_GITHUB_TOKEN }}