From 21de33605bdc96650cddbab729ad88501827e935 Mon Sep 17 00:00:00 2001 From: sitiom Date: Thu, 16 Jun 2022 21:24:54 +0800 Subject: [PATCH] Add "Publish to Winget" step in CI --- .github/workflows/CI.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 18d7e89cc13..53e8083fc3b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -505,3 +505,10 @@ 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 }} + + - name: Publish to Winget + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + uses: vedantmgoyal2009/vedantmgoyal2009/winget-pkgs-automation/releaser-action@v1.0.0 + with: + identifier: SunshineStream.Sunshine + token: ${{ secrets.WINGET_TOKEN }}