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