mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-12 13:13:21 +00:00
fix winget releaser
This commit is contained in:
parent
a82a9f8ada
commit
d0ce0a67f2
14
.github/workflows/CI.yml
vendored
14
.github/workflows/CI.yml
vendored
@ -800,3 +800,17 @@ jobs:
|
||||
next_version: ${{ needs.check_changelog.outputs.next_version }}
|
||||
last_version: ${{ needs.check_changelog.outputs.last_version }}
|
||||
release_body: ${{ needs.check_changelog.outputs.release_body }}
|
||||
|
||||
release-winget:
|
||||
name: Release to WinGet
|
||||
needs: build_win
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
runs-on: windows-latest # the required action can only be run on Windows
|
||||
steps:
|
||||
- name: Release to WinGet
|
||||
uses: vedantmgoyal2009/winget-releaser@v1
|
||||
with:
|
||||
identifier: LizardByte.Sunshine
|
||||
release-tag: ${{ needs.check_changelog.outputs.next_version }}
|
||||
installers-regex: '\.exe$' # only .exe files
|
||||
token: ${{ secrets.GH_BOT_TOKEN }}
|
||||
|
17
.github/workflows/winget.yml
vendored
17
.github/workflows/winget.yml
vendored
@ -1,17 +0,0 @@
|
||||
---
|
||||
name: Publish to WinGet
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
|
||||
jobs:
|
||||
winget-releaser:
|
||||
name: winget releaser
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: winget releaser
|
||||
uses: vedantmgoyal2009/winget-releaser@latest
|
||||
with:
|
||||
identifier: LizardByte.Sunshine
|
||||
token: ${{ secrets.GH_BOT_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user