mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
ci: modify ci tasks
This commit is contained in:
parent
32ba2144e2
commit
46ed3f6eca
2 changed files with 21 additions and 13 deletions
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
|
@ -1,12 +1,10 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- next
|
||||
- next-major
|
||||
- alpha
|
||||
|
|
@ -24,6 +22,22 @@ jobs:
|
|||
uses: ./
|
||||
id: semantic
|
||||
with:
|
||||
branches: |
|
||||
[
|
||||
'+([0-9])?(.{+([0-9]),x}).x',
|
||||
'master',
|
||||
'main',
|
||||
'next',
|
||||
'next-major',
|
||||
{
|
||||
name: 'beta',
|
||||
prerelease: true
|
||||
},
|
||||
{
|
||||
name: 'alpha',
|
||||
prerelease: true
|
||||
}
|
||||
]
|
||||
extra_plugins: |
|
||||
@semantic-release/git
|
||||
@semantic-release/changelog
|
||||
|
|
|
|||
14
.github/workflows/testRelease.yml
vendored
14
.github/workflows/testRelease.yml
vendored
|
|
@ -1,17 +1,11 @@
|
|||
name: Test Release
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- next
|
||||
- next-major
|
||||
- alpha
|
||||
- beta
|
||||
- 'feat/**'
|
||||
- 'fix/**'
|
||||
- 'perf/**'
|
||||
- 'refactor/**'
|
||||
- main
|
||||
push:
|
||||
|
||||
schedule:
|
||||
- cron: 0 2 * * 0
|
||||
|
|
@ -33,6 +27,7 @@ jobs:
|
|||
[
|
||||
'+([0-9])?(.{+([0-9]),x}).x',
|
||||
'master',
|
||||
'main',
|
||||
'next',
|
||||
'next-major',
|
||||
{
|
||||
|
|
@ -44,7 +39,6 @@ jobs:
|
|||
prerelease: true
|
||||
}
|
||||
]
|
||||
branch: master
|
||||
extra_plugins: |
|
||||
@semantic-release/git
|
||||
@semantic-release/changelog
|
||||
|
|
|
|||
Loading…
Reference in a new issue