Skip to content

Commit

Permalink
Merge pull request #142 from nomandhoni-cs/master
Browse files Browse the repository at this point in the history
Fixed Winget ci cd
  • Loading branch information
nomandhoni-cs authored Dec 22, 2024
2 parents b35c03a + d27073a commit 79cf46c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/WinGet Release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: Publish to WinGet

on:
release:
types: [released]
workflow_dispatch:
inputs:
version:
description: 'Version of the release to publish'
required: true
default: 'v2.5.0' # Optional: You can set a default version

jobs:
publish:
runs-on: windows-latest
Expand All @@ -10,12 +16,14 @@ jobs:
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: NomanDhoni.BlinkEye # Replace with your app identifier
release-tag: ${{ github.event.inputs.version }} # Access version input
installers-regex: '\.exe$' # Only .exe files
token: ${{ secrets.WINGET_TOKEN_BLINK_EYE }}

- name: Publish to WinGet (.msi)
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: NomanDhoni.BlinkEye # Replace with your app identifier
release-tag: ${{ github.event.inputs.version }} # Access version input
installers-regex: '\.msi$' # Only .msi files
token: ${{ secrets.WINGET_TOKEN_BLINK_EYE }}
token: ${{ secrets.WINGET_TOKEN_BLINK_EYE }}

0 comments on commit 79cf46c

Please sign in to comment.