static은 버리고, Shared를 선택할 수 있도록 #12
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: .NET Core | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run : | |
working-directory: ./src | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.301 | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal | |
- name: Publish to NuGet | |
uses: brandedoutcast/publish-nuget@v2 | |
with: | |
PROJECT_FILE_PATH: ./src/Npgg.Configuration/Npgg.Configuration.csproj | |
VERSION_REGEX: '^\s*<Version>(.*)<\/Version>\s*$' | |
TAG_FORMAT: '*' | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} |