Skip to content

Instantly share code, notes, and snippets.

@r-brown
Created September 1, 2020 12:23
Show Gist options
  • Save r-brown/9a4886e2e7f9c5ed1db81ef404e8dabd to your computer and use it in GitHub Desktop.
Save r-brown/9a4886e2e7f9c5ed1db81ef404e8dabd to your computer and use it in GitHub Desktop.
GitHub Actions - NetLicensing C# Client - CI workflow
name: NetLicensing C# Client - CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet run --project NetLicensingClient-demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment