Skip to content

Commit

Permalink
build: update winget workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jely2002 committed Jul 3, 2021
1 parent f594a8e commit e01b4f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update-winget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
with:
dotnet-version: '5.0.x'
- name: Run wingetcreate
env:
APP_VERSION: ${{ github.event.inputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: cmd
run: |
curl https://aka.ms/wingetcreate/latest -L --output wingetcreate.exe
wingetcreate.exe update -s -i jely2002.youtube-dl-gui -u https://github.com/jely2002/youtube-dl-gui/releases/download/v${{ github.event.inputs.version }}/YouTube-Downloader-GUI-Setup-${{ github.event.inputs.version }}.exe -v ${{ github.event.inputs.version }} -t ${{ secrets.GITHUB_TOKEN }}
wingetcreate.exe update -s -i jely2002.youtube-dl-gui -u https://github.com/jely2002/youtube-dl-gui/releases/download/v%APP_VERSION%/YouTube-Downloader-GUI-Setup-%APP_VERSION%.exe -v %APP_VERSION% -t %GITHUB_TOKEN%

0 comments on commit e01b4f6

Please sign in to comment.