Update Semantic.yml

This commit is contained in:
MrGadget 2024-05-05 05:32:20 -04:00 committed by GitHub
parent 59dbff38b6
commit 045632caf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}