Delete winget.yml
This commit is contained in:
27
.github/workflows/winget.yml
vendored
27
.github/workflows/winget.yml
vendored
@@ -1,27 +0,0 @@
|
||||
name: Publish to WinGet
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version (e.g. v1.5.0)'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: |
|
||||
$VERSION="${{ github.event.release.name || inputs.version }}" -replace '^.*v'
|
||||
"APP_VER=$VERSION.0" >> $env:GITHUB_OUTPUT
|
||||
echo VERSION:$VERSION
|
||||
echo APP_VER:$APP_VER
|
||||
shell: pwsh
|
||||
- uses: vedantmgoyal2009/winget-releaser@v2
|
||||
with:
|
||||
identifier: Bostrot.WSLManager
|
||||
version: ${{ steps.get_version.outputs.APP_VER }}
|
||||
installers-regex: '.(msi|msix|appx)(bundle){0,1}$'
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
Reference in New Issue
Block a user