From d7ab912917bb74bdd084898f7ab0956fbd315341 Mon Sep 17 00:00:00 2001 From: lencx Date: Sat, 7 Jan 2023 14:53:18 +0800 Subject: [PATCH] fix: winget release --- .github/workflows/release.yml | 8 +++++--- .github/workflows/winget.yml | 20 -------------------- 2 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/winget.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b3d496..05e89e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,9 +2,11 @@ name: Release CI on: push: - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + branches: + - dev + # # Sequence of patterns matched against refs/tags + # tags: + # - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 jobs: create-release: diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml deleted file mode 100644 index ddd9b63..0000000 --- a/.github/workflows/winget.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Winget CI - -on: - push: - branches: - - dev - # # Sequence of patterns matched against refs/tags - # tags: - # - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - -jobs: - publish-winget: - # Action can only be run on windows - runs-on: windows-latest - steps: - - uses: vedantmgoyal2009/winget-releaser@v1 - with: - identifier: lencx.ChatGPT - token: ${{ secrets.WINGET_TOKEN }} - version: ${{ env.version }}