Update releaseToWinGet.yml

This commit is contained in:
Tess Gauthier 2022-05-20 11:58:31 -04:00 committed by GitHub
parent 1d09a296e4
commit 81d74d5c76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ jobs:
} }
} }
$urls = "https://github.com/$repo/releases/download/$tag/$msi_x64, https://github.com/$repo/releases/download/$tag/$msi_x86" $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 name: Get Release URLs
- run: | - run: |
@ -51,7 +51,7 @@ jobs:
name: Download WinGet Requirements name: Download WinGet Requirements
- run: | - run: |
echo "wingetcreate update Microsoft.OpenSSH -u ${{ env.PACKAGE_URLS }} -o ${{ env.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 $env:PACKAGE_URLS -o $env:GITHUB_WORKSPACE
# wingetcreate update Microsoft.OpenSSH -u ${PACKAGE_URLS} -t ${{ secrets.GITHUB_TOKEN }} --submit # wingetcreate update Microsoft.OpenSSH -u $env:PACKAGE_URLS -t ${{ secrets.GITHUB_TOKEN }} --submit
name: WinGet Update name: WinGet Update