From 0b28c6756dadb29e76c441a9f897c41c65e1f1c2 Mon Sep 17 00:00:00 2001 From: hegotit <153287866+hegotit@users.noreply.github.com> Date: Fri, 27 Sep 2024 10:02:07 +0800 Subject: [PATCH] ci: support ci building for dev branch --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46ee08619..e6009f15b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Build and Release on: push: branches: - - main + - dev tags: - "[0-9]+.*" paths: @@ -16,7 +16,6 @@ on: jobs: Release: runs-on: ubuntu-latest - if: github.repository == 'iDvel/rime-ice' steps: - name: Checkout @@ -55,7 +54,7 @@ jobs: cp README.md dist/README.md - name: Create nightly release - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/dev' }} uses: "softprops/action-gh-release@v2" with: body: | @@ -72,7 +71,7 @@ jobs: - `LICENSE.txt`:开源协议 tag_name: nightly - name: "nightly build" + name: "Nightly Build" make_latest: true files: | dist/*