mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
chore: setup dotnet to fix missing DLL in winget workflow
This commit is contained in:
9
.github/workflows/update-winget.yaml
vendored
9
.github/workflows/update-winget.yaml
vendored
@@ -11,6 +11,11 @@ jobs:
|
||||
wingetcreate-update:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '3.1.x'
|
||||
- name: Run wingetcreate
|
||||
shell: pwsh
|
||||
run: . { iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe } | iex; 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 }}
|
||||
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 }}
|
||||
|
||||
Reference in New Issue
Block a user