forked from Raystorms/FizzySteamyMirror
-
Notifications
You must be signed in to change notification settings - Fork 33
55 lines (48 loc) · 1.29 KB
/
Semantic.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Semantic Release
on:
workflow_dispatch:
pull_request:
branches:
- master
paths-ignore:
- '.github/**'
- '.gitattributes'
- '.gitignore'
- '**.md'
push:
branches:
- master
paths-ignore:
- '.github/**'
- '.gitattributes'
- '.gitignore'
- '**.md'
jobs:
SemanticRelease:
name: Semantic Release
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.100'
# Installs nuget package from https://www.nuget.org/packages/unity-packer
- name: Install unity-packer
run: dotnet tool install -g unity-packer
# Install conventional-changelog-conventionalcommits
- name: Install conventional-changelog-conventionalcommits
run: npm i -D conventional-changelog-conventionalcommits
- name: Release
uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/changelog
@semantic-release/git
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}