From f73153150f201fc992d83044e733b1cc28076ed7 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:09:50 -0400 Subject: [PATCH 01/15] add GH Workflow for WinGet updates --- releaseToWinGet.yml | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 releaseToWinGet.yml diff --git a/releaseToWinGet.yml b/releaseToWinGet.yml new file mode 100644 index 00000000..5373ed5f --- /dev/null +++ b/releaseToWinGet.yml @@ -0,0 +1,56 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the BSD license. + +name: Release to WinGet + +on: + workflow_dispatch: + release: + types: [created] + +defaults: + run: + shell: pwsh + +env: + PACKAGE_URLS: "" + +jobs: + release-to-winget: + runs-on: windows-latest + + steps: + - run: | + $repo = "powershell/win32-openssh" + $releases = "https://api.github.com/repos/$repo/releases" + $releaseInfo = (Invoke-WebRequest $releases | ConvertFrom-Json)[0] + $tag = $releaseInfo.tagname + forEach ($filename in $releaseInfo.assets.name) { + if ($filename.split(".")[-1] -contains "msi") { + if ($filename.split("-")[1] -contains "Win32") { + $msi_x86 = $filename + } + if ($filename.split("-")[1] -contains "Win64") { + $msi_x64 = $filename + } + } + } + $urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" + echo "::set-env name=PACKAGE_URLS::$urls" + name: Get Release URLs + + - run: | + # Download and install C++ Runtime framework package. + iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile vcLibsBundle.appx + Add-AppxPackage vcLibsBundle.appx + + # Download Winget-Create msixbundle, install, and execute update. + iwr https://aka.ms/wingetcreate/latest/msixbundle -OutFile winGetBundle.appx + Add-AppxPackage winGetBundle.appx + name: Download WinGet Requirements + + - run: | + echo " wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE}" + wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE} + # wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit + name: WinGet Update From 1df96a8d3e1246f422b94e53a2250d09b44601d0 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:13:03 -0400 Subject: [PATCH 02/15] move workflow to folder --- releaseToWinGet.yml => .github/workflows/releaseToWinGet.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename releaseToWinGet.yml => .github/workflows/releaseToWinGet.yml (100%) diff --git a/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml similarity index 100% rename from releaseToWinGet.yml rename to .github/workflows/releaseToWinGet.yml From 1f8cd4c0f57e8b841495895d2a5ac94e750f53cf Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:17:42 -0400 Subject: [PATCH 03/15] use env variable file --- releaseToWinGet.yml | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 releaseToWinGet.yml diff --git a/releaseToWinGet.yml b/releaseToWinGet.yml new file mode 100644 index 00000000..dbe8c1a7 --- /dev/null +++ b/releaseToWinGet.yml @@ -0,0 +1,56 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the BSD license. + +name: Release to WinGet + +on: + workflow_dispatch: + release: + types: [created] + +defaults: + run: + shell: pwsh + +env: + PACKAGE_URLS: "" + +jobs: + release-to-winget: + runs-on: windows-latest + + steps: + - run: | + $repo = "powershell/win32-openssh" + $releases = "https://api.github.com/repos/$repo/releases" + $releaseInfo = (Invoke-WebRequest $releases | ConvertFrom-Json)[0] + $tag = $releaseInfo.tagname + forEach ($filename in $releaseInfo.assets.name) { + if ($filename.split(".")[-1] -contains "msi") { + if ($filename.split("-")[1] -contains "Win32") { + $msi_x86 = $filename + } + if ($filename.split("-")[1] -contains "Win64") { + $msi_x64 = $filename + } + } + } + $urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" + echo "PACKAGE_URLS=$urls" >> $GITHUB_ENV + name: Get Release URLs + + - run: | + # Download and install C++ Runtime framework package. + iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile vcLibsBundle.appx + Add-AppxPackage vcLibsBundle.appx + + # Download Winget-Create msixbundle, install, and execute update. + iwr https://aka.ms/wingetcreate/latest/msixbundle -OutFile winGetBundle.appx + Add-AppxPackage winGetBundle.appx + name: Download WinGet Requirements + + - run: | + echo "wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE}" + wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE} + # wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit + name: WinGet Update From 1483077cf638482d7cdeb2e57caacfe6c58734c0 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:23:18 -0400 Subject: [PATCH 04/15] merge files --- .github/workflows/releaseToWinGet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index 5373ed5f..dbe8c1a7 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -36,7 +36,7 @@ jobs: } } $urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" - echo "::set-env name=PACKAGE_URLS::$urls" + echo "PACKAGE_URLS=$urls" >> $GITHUB_ENV name: Get Release URLs - run: | @@ -50,7 +50,7 @@ jobs: name: Download WinGet Requirements - run: | - echo " wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE}" + echo "wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE}" wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE} # wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit name: WinGet Update From 8c92f134e7f6424f57970b1aff2628197ec8136a Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:24:04 -0400 Subject: [PATCH 05/15] remove old filepath --- releaseToWinGet.yml | 56 --------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 releaseToWinGet.yml diff --git a/releaseToWinGet.yml b/releaseToWinGet.yml deleted file mode 100644 index dbe8c1a7..00000000 --- a/releaseToWinGet.yml +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright (c) Microsoft Corporation. -# Licensed under the BSD license. - -name: Release to WinGet - -on: - workflow_dispatch: - release: - types: [created] - -defaults: - run: - shell: pwsh - -env: - PACKAGE_URLS: "" - -jobs: - release-to-winget: - runs-on: windows-latest - - steps: - - run: | - $repo = "powershell/win32-openssh" - $releases = "https://api.github.com/repos/$repo/releases" - $releaseInfo = (Invoke-WebRequest $releases | ConvertFrom-Json)[0] - $tag = $releaseInfo.tagname - forEach ($filename in $releaseInfo.assets.name) { - if ($filename.split(".")[-1] -contains "msi") { - if ($filename.split("-")[1] -contains "Win32") { - $msi_x86 = $filename - } - if ($filename.split("-")[1] -contains "Win64") { - $msi_x64 = $filename - } - } - } - $urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" - echo "PACKAGE_URLS=$urls" >> $GITHUB_ENV - name: Get Release URLs - - - run: | - # Download and install C++ Runtime framework package. - iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile vcLibsBundle.appx - Add-AppxPackage vcLibsBundle.appx - - # Download Winget-Create msixbundle, install, and execute update. - iwr https://aka.ms/wingetcreate/latest/msixbundle -OutFile winGetBundle.appx - Add-AppxPackage winGetBundle.appx - name: Download WinGet Requirements - - - run: | - echo "wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE}" - wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE} - # wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit - name: WinGet Update From 349c61fbab377f37533b1434517044dabba09963 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:28:22 -0400 Subject: [PATCH 06/15] add Import-Module Appx --- .github/workflows/releaseToWinGet.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index dbe8c1a7..e52fd6e1 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -41,6 +41,7 @@ jobs: - run: | # Download and install C++ Runtime framework package. + Import-Module Appx iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile vcLibsBundle.appx Add-AppxPackage vcLibsBundle.appx From 5701dd99e7c7261323fd1940f8ef36eb4ebbeeaf Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:39:17 -0400 Subject: [PATCH 07/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index e52fd6e1..c08250fb 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -41,7 +41,7 @@ jobs: - run: | # Download and install C++ Runtime framework package. - Import-Module Appx + Import-Module Appx -UseWindowsPowerShell iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile vcLibsBundle.appx Add-AppxPackage vcLibsBundle.appx From 1d09a296e41ffa1820f71c23f3cb1fdd228c705b Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:50:56 -0400 Subject: [PATCH 08/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index c08250fb..568a9217 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -51,7 +51,7 @@ jobs: name: Download WinGet Requirements - run: | - echo "wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE}" - wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -o ${GITHUB_WORKSPACE} + echo "wingetcreate update Microsoft.OpenSSH -u ${{ env.PACKAGE_URLS }} -o ${{ env.GITHUB_WORKSPACE }}" + wingetcreate update Microsoft.OpenSSH -u ${{ env.PACKAGE_URLS }} -o ${{ env.GITHUB_WORKSPACE }} # wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit name: WinGet Update From 81d74d5c7630fb96f80176cbf39d049c36009dcf Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 11:58:31 -0400 Subject: [PATCH 09/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index 568a9217..48e6a00a 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -36,7 +36,7 @@ jobs: } } $urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" - echo "PACKAGE_URLS=$urls" >> $GITHUB_ENV + echo "PACKAGE_URLS=$urls" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append name: Get Release URLs - run: | @@ -51,7 +51,7 @@ jobs: name: Download WinGet Requirements - run: | - echo "wingetcreate update Microsoft.OpenSSH -u ${{ env.PACKAGE_URLS }} -o ${{ env.GITHUB_WORKSPACE }}" - wingetcreate update Microsoft.OpenSSH -u ${{ env.PACKAGE_URLS }} -o ${{ env.GITHUB_WORKSPACE }} - # wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit + echo "wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE" + wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE + # wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -t ${{ secrets.GITHUB_TOKEN }} --submit name: WinGet Update From 249da08234cd25554c989f070d528fb044919f7a Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 12:03:01 -0400 Subject: [PATCH 10/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index 48e6a00a..91fcd242 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -51,7 +51,6 @@ jobs: name: Download WinGet Requirements - run: | - echo "wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE" - wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE + wingetcreate update Microsoft.OpenSSH --urls $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE # wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -t ${{ secrets.GITHUB_TOKEN }} --submit name: WinGet Update From 2c026e170bd2b251af2e8f2b22cefe21ecd1d7f4 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 12:12:36 -0400 Subject: [PATCH 11/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index 91fcd242..66e6184a 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -24,19 +24,19 @@ jobs: $repo = "powershell/win32-openssh" $releases = "https://api.github.com/repos/$repo/releases" $releaseInfo = (Invoke-WebRequest $releases | ConvertFrom-Json)[0] - $tag = $releaseInfo.tagname + $tag = $releaseInfo.tag_name forEach ($filename in $releaseInfo.assets.name) { if ($filename.split(".")[-1] -contains "msi") { if ($filename.split("-")[1] -contains "Win32") { - $msi_x86 = $filename + $msi_x86 = "https://github.com/$repo/releases/download/$tag/$filename" } if ($filename.split("-")[1] -contains "Win64") { - $msi_x64 = $filename + $msi_x64 = "https://github.com/$repo/releases/download/$tag/$filename" } } } - $urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" - echo "PACKAGE_URLS=$urls" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + echo "URL_X86=$msi_x86" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + echo "URL_X64=$msi_x64" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append name: Get Release URLs - run: | @@ -51,6 +51,6 @@ jobs: name: Download WinGet Requirements - run: | - wingetcreate update Microsoft.OpenSSH --urls $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE - # wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -t ${{ secrets.GITHUB_TOKEN }} --submit + wingetcreate update Microsoft.OpenSSH -u $env:URL_X86, $env:URL_X64 -o $env:GITHUB_WORKSPACE + # wingetcreate update Microsoft.OpenSSH -u $env:URL_X86, $env:URL_X64 -t ${{ secrets.GITHUB_TOKEN }} --submit name: WinGet Update From 26213d4c7fc8d1d50b67ad59bd3d0250ae6ad598 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 12:15:14 -0400 Subject: [PATCH 12/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index 66e6184a..16942211 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -51,6 +51,6 @@ jobs: name: Download WinGet Requirements - run: | - wingetcreate update Microsoft.OpenSSH -u $env:URL_X86, $env:URL_X64 -o $env:GITHUB_WORKSPACE - # wingetcreate update Microsoft.OpenSSH -u $env:URL_X86, $env:URL_X64 -t ${{ secrets.GITHUB_TOKEN }} --submit + wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -o $env:GITHUB_WORKSPACE + # wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.GITHUB_TOKEN }} --submit name: WinGet Update From ae1204896025476deec38c2c3fede8d54727efc5 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Fri, 20 May 2022 12:29:19 -0400 Subject: [PATCH 13/15] Update releaseToWinGet.yml --- .github/workflows/releaseToWinGet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index 16942211..a3325b45 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -51,6 +51,6 @@ jobs: name: Download WinGet Requirements - run: | - wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -o $env:GITHUB_WORKSPACE - # wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.GITHUB_TOKEN }} --submit + # wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -o $env:GITHUB_WORKSPACE + wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.PAT }} --submit name: WinGet Update From e0059458916f672628735917e14e34370abc963d Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Mon, 8 Aug 2022 16:48:28 -0400 Subject: [PATCH 14/15] update package path to Microsoft.OpenSSH.Beta --- .github/workflows/releaseToWinGet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index a3325b45..e7821b23 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -51,6 +51,6 @@ jobs: name: Download WinGet Requirements - run: | - # wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -o $env:GITHUB_WORKSPACE - wingetcreate update Microsoft.OpenSSH -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.PAT }} --submit + # wingetcreate update Microsoft.OpenSSH.Beta -u @($env:URL_X86, $env:URL_X64) -o $env:GITHUB_WORKSPACE + wingetcreate update Microsoft.OpenSSH.Beta -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.PAT }} --submit name: WinGet Update From 2f76031fc0f770e3f5890d2c83e317ac9a478e58 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Wed, 2 Nov 2022 14:18:55 -0400 Subject: [PATCH 15/15] change token name --- .github/workflows/releaseToWinGet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/releaseToWinGet.yml b/.github/workflows/releaseToWinGet.yml index e7821b23..e61d4642 100644 --- a/.github/workflows/releaseToWinGet.yml +++ b/.github/workflows/releaseToWinGet.yml @@ -52,5 +52,5 @@ jobs: - run: | # wingetcreate update Microsoft.OpenSSH.Beta -u @($env:URL_X86, $env:URL_X64) -o $env:GITHUB_WORKSPACE - wingetcreate update Microsoft.OpenSSH.Beta -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.PAT }} --submit + wingetcreate update Microsoft.OpenSSH.Beta -u @($env:URL_X86, $env:URL_X64) -t ${{ secrets.WINGETTOKEN }} --submit name: WinGet Update