The tests don't work in release anyway #19
Workflow file for this run
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: Nuget release | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+**' | |
env: | |
DOTNET_EnableDiagnostics: 0 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
DOTNET_GENERATE_ASPNET_CERTIFICATE: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup .NET Core 8.0 | |
uses: actions/[email protected] | |
with: | |
dotnet-version: '8.0.x' | |
- name: Pack release | |
run: dotnet pack -c Release -o tmp FastEnum.sln | |
- name: Upload to nuget | |
run: dotnet nuget push --skip-duplicate -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json tmp/* |