Update tagged-release.yml #92
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: tagged-release | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- v* | |
workflow_dispatch: | |
jobs: | |
publish-nuget: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Test | |
run: dotnet test | |
- name: Publish to NuGet | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: RatEye/RatEye.csproj | |
TAG_COMMIT: true | |
TAG_FORMAT: v* | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | |
NUGET_SOURCE: https://api.nuget.org | |
INCLUDE_SYMBOLS: true |