From 1c93b5f3fabec037d29e387a58fd1ca4eeaedd8c Mon Sep 17 00:00:00 2001 From: gaboolic <23441099@qq.com> Date: Sat, 20 Jul 2024 18:07:33 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b0fb96c..975689ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Pack and Release on: push: branches: - - main + - master tags: - '[0-9]+.*' paths: @@ -38,7 +38,7 @@ jobs: zip -r dist/opencc.zip opencc - name: Create nightly release - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/master' }} uses: 'softprops/action-gh-release@v2' with: body: | @@ -66,4 +66,4 @@ jobs: draft: true make_latest: true files: | - dist/* \ No newline at end of file + dist/*