2023-08-27 20:27:23 +00:00
|
|
|
name: Submit to Winget Community Repo
|
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
2023-10-07 16:10:07 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
tag:
|
|
|
|
type: string
|
|
|
|
description: The release tag to submit
|
|
|
|
required: true
|
2023-08-27 20:27:23 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
winget:
|
|
|
|
name: Publish winget package
|
2023-09-25 22:00:17 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-08-27 20:27:23 +00:00
|
|
|
steps:
|
|
|
|
- name: Submit package to Winget Community Repo
|
2023-10-23 17:44:54 +00:00
|
|
|
uses: vedantmgoyal2009/winget-releaser@e68d386d5d6a1cef8cb0fb5e62b77ebcb83e7d58 # v2
|
2023-09-25 22:00:17 +00:00
|
|
|
with:
|
|
|
|
identifier: Vencord.Vesktop
|
|
|
|
token: ${{ secrets.WINGET_PAT }}
|
|
|
|
installers-regex: '\.exe$'
|
2023-10-07 16:10:07 +00:00
|
|
|
release-tag: ${{ inputs.tag || github.event.release.tag_name }}
|
2023-10-07 16:19:42 +00:00
|
|
|
fork-user: shiggybot
|