Created
September 1, 2020 12:23
-
-
Save r-brown/9a4886e2e7f9c5ed1db81ef404e8dabd to your computer and use it in GitHub Desktop.
GitHub Actions - NetLicensing C# Client - CI workflow
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: 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