mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2025-12-19 16:42:58 +05:30
(ci/cd): added winget and aur publish workflows
This commit is contained in:
23
.github/workflows/publish-to-winget.yml
vendored
Normal file
23
.github/workflows/publish-to-winget.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
name: 🚀 Publish to WinGet
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: 🛠️ Get release version
|
||||
id: get-version
|
||||
run: |
|
||||
$VERSION="${{ github.event.release.tag_name }}" -replace '^v|[^0-9.]'
|
||||
"version=$VERSION" >> $env:GITHUB_OUTPUT
|
||||
shell: pwsh
|
||||
|
||||
- name: 🚀 Send PR to winget-pkgs repo
|
||||
uses: vedantmgoyal9/winget-releaser@main
|
||||
with:
|
||||
identifier: neosubhamoy.neodlp
|
||||
version: ${{ steps.get-version.outputs.version }}
|
||||
installers-regex: '\.exe$'
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
Reference in New Issue
Block a user