Fix namespace and class name conflict #7
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: Publish Packages | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.101 | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Publish SlugifyNet | |
uses: rohith/publish-nuget@v2 | |
with: | |
PROJECT_FILE_PATH: SlugifyNet/SlugifyNet.csproj | |
VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$ | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} |