mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-10 08:40:58 +00:00
ci: move to branch-based releases
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -1,5 +1,5 @@
|
||||
name: Build
|
||||
on: [push,pull_request]
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -7,8 +7,12 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: ./.github/actions/bats
|
||||
- uses: cycjimmy/semantic-release-action@v2
|
||||
if: github.ref == 'refs/heads/master'
|
||||
with:
|
||||
branches: |
|
||||
[
|
||||
'v1.1.x',
|
||||
'v2.x'
|
||||
]
|
||||
extra_plugins: |
|
||||
@semantic-release/git
|
||||
@semantic-release/changelog
|
||||
|
||||
Reference in New Issue
Block a user