Skip to content

Fix namespace and class name conflict #7

Fix namespace and class name conflict

Fix namespace and class name conflict #7

Workflow file for this run

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}}