mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +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:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup dotnet
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '3.1.100'
|
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
|
- name: Install unity-packer
|
||||||
run: dotnet tool install -g unity-packer
|
run: dotnet tool install -g unity-packer
|
||||||
|
|
||||||
# Install conventional-changelog-conventionalcommits
|
- name: Setup Node.js
|
||||||
# Required for Semantic Release Notes Generator
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
|
||||||
- name: Install conventional-changelog-conventionalcommits
|
- name: Install conventional-changelog-conventionalcommits
|
||||||
run: npm i -D conventional-changelog-conventionalcommits
|
run: npm i -D conventional-changelog-conventionalcommits
|
||||||
|
|
||||||
# See .releaserc.yml for configuration of semantic-release
|
- name: Install Plugins
|
||||||
|
run: npm i -D @semantic-release/exec @semantic-release/changelog @semantic-release/git
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: cycjimmy/semantic-release-action@v4
|
run: npx semantic-release
|
||||||
with:
|
--plugins "@semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/github,@semantic-release/exec,@semantic-release/changelog,@semantic-release/git"
|
||||||
semantic_version: 23
|
|
||||||
extra_plugins: |
|
|
||||||
@semantic-release/exec
|
|
||||||
@semantic-release/changelog
|
|
||||||
@semantic-release/git
|
|
||||||
branch: master
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user