-
Notifications
You must be signed in to change notification settings - Fork 2
25 lines (22 loc) · 765 Bytes
/
Copy pathwinget.yml
File metadata and controls
25 lines (22 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Publish to WinGet
on:
workflow_dispatch:
inputs:
version:
description: 'Release tag (e.g. v3.0.0, or leave empty for latest release)'
required: false
default: 'v3.0.0'
jobs:
winget:
name: Publish to WinGet Community Repository
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Submit package to Windows Package Manager Community Repository
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: NotHarshhaa.DevOpsToolsInstaller
installers-regex: 'DevOpsToolsInstaller_x64_Setup\.exe$'
token: ${{ secrets.WINGET_TOKEN || secrets.GH_TOKEN }}
release-tag: ${{ github.event.inputs.version }}