mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
Update Semantic.yml
This commit is contained in:
parent
59dbff38b6
commit
045632caf0
25
.github/workflows/Semantic.yml
vendored
25
.github/workflows/Semantic.yml
vendored
@ -15,30 +15,27 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup dotnet
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '3.1.100'
|
||||
|
||||
# Installs nuget package from https://www.nuget.org/packages/unity-packer
|
||||
# Used by Semantic Release to create the Unity package.
|
||||
- name: Install unity-packer
|
||||
run: dotnet tool install -g unity-packer
|
||||
|
||||
# Install conventional-changelog-conventionalcommits
|
||||
# Required for Semantic Release Notes Generator
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install conventional-changelog-conventionalcommits
|
||||
run: npm i -D conventional-changelog-conventionalcommits
|
||||
|
||||
- name: Install Plugins
|
||||
run: npm i -D @semantic-release/exec @semantic-release/changelog @semantic-release/git
|
||||
|
||||
# See .releaserc.yml for configuration of semantic-release
|
||||
- name: Release
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
with:
|
||||
semantic_version: 23
|
||||
extra_plugins: |
|
||||
@semantic-release/exec
|
||||
@semantic-release/changelog
|
||||
@semantic-release/git
|
||||
branch: master
|
||||
run: npx semantic-release
|
||||
--plugins "@semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/github,@semantic-release/exec,@semantic-release/changelog,@semantic-release/git"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user