-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 897 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Create Release
on:
workflow_dispatch:
push:
branches:
- main
- dev
jobs:
release:
name: Release
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup NuGet
uses: NuGet/[email protected]
- name: setup-msbuild
uses: microsoft/setup-msbuild@v2
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
tag_format: ${version}
branches: |
[
'main',
{
name: 'dev',
prerelease: true
}
]
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@saithodev/semantic-release-backmerge
semantic-release-replace-plugin
@semantic-release/exec
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}