Skip to content

Commit

Permalink
ci: support ci building for dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hegotit committed Nov 5, 2024
1 parent 1a5e891 commit 22a1435
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Release
on:
push:
branches:
- main
- dev
tags:
- "[0-9]+.*"
paths:
Expand All @@ -16,7 +16,6 @@ on:
jobs:
Release:
runs-on: ubuntu-latest
if: github.repository == 'iDvel/rime-ice'

steps:
- name: Checkout
Expand Down Expand Up @@ -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: |
Expand All @@ -72,7 +71,7 @@ jobs:
- `LICENSE.txt`:开源协议
tag_name: nightly
name: "nightly build"
name: "Nightly Build"
make_latest: true
files: |
dist/*
Expand Down

0 comments on commit 22a1435

Please sign in to comment.