Skip to content

static은 버리고, Shared를 선택할 수 있도록 #12

static은 버리고, Shared를 선택할 수 있도록

static은 버리고, Shared를 선택할 수 있도록 #12

Workflow file for this run

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