Merge pull request #61 from MarcinZboralski/master #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |