2023-09-24 12:06:13 +03:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
name: release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Semantic Release
|
2023-09-24 12:07:02 +03:00
|
|
|
uses: cycjimmy/semantic-release-action@v4
|
2023-09-24 12:06:13 +03:00
|
|
|
with:
|
|
|
|
branches: |
|
|
|
|
[
|
|
|
|
'+([0-9])?(.{+([0-9]),x}).x',
|
|
|
|
'main'
|
|
|
|
]
|
|
|
|
extra_plugins: |
|
|
|
|
@semantic-release/commit-analyzer
|
|
|
|
@semantic-release/release-notes-generator
|
|
|
|
@semantic-release/git
|
|
|
|
@semantic-release/changelog
|
|
|
|
env:
|
2023-09-24 12:11:14 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|