name: Semantic Release on: workflow_dispatch: workflow_call: jobs: SemanticRelease: name: Semantic Release runs-on: windows-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: '3.1.100' - name: Install unity-packer run: dotnet tool install -g unity-packer - 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 - name: Release 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 }}