mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-04-05 20:55:01 +08:00
25 lines
531 B
YAML
25 lines
531 B
YAML
name: Build and test
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Set up dotnet core
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: "2.0.x"
|
|
|
|
- name: Add msbuild to PATH
|
|
uses: microsoft/setup-msbuild@v1.0.2
|
|
|
|
# Build the release build
|
|
- name: Build the solution
|
|
run: dotnet build -c Release src/UglyToad.PdfPig.sln
|
|
|
|
- name: Run the tests
|
|
run: dotnet test src/UglyToad.PdfPig.sln
|