mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-06-29 21:11:26 +00:00
26 lines
No EOL
654 B
YAML
26 lines
No EOL
654 B
YAML
name: Publish to winget
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: "Release tag to publish (e.g. v1.5.1). Leave empty to use the latest published release."
|
|
required: false
|
|
type: string
|
|
|
|
jobs:
|
|
winget:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Submit manifest to winget-pkgs
|
|
uses: vedantmgoyal9/winget-releaser@main
|
|
with:
|
|
identifier: GyulyVGC.Sniffnet
|
|
installers-regex: 'Sniffnet_Windows_(x64|x86|arm64)\.msi$'
|
|
version: ${{ inputs.version }}
|
|
token: ${{ secrets.WINGET_TOKEN }} |