diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml new file mode 100644 index 0000000..ae46da6 --- /dev/null +++ b/.github/workflows/dotnetcore.yml @@ -0,0 +1,21 @@ +name: .NET Core + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.0.100 + - name: dotnet tool restore + run: dotnet tool restore + - name: set GitVersion + run: dotnet dotnet-gitversion /output buildserver /nofetch + - name: dotnet pack + run: dotnet pack --output $(Build.ArtifactStagingDirectory) --include-symbols /p:Configuration=$(BuildConfiguration) --verbosity Normal /p:Version=$(GitVersion.NuGetVersion)