Skip to content

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #6

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #6

name: Test .NET (Windows)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup nuget
uses: nuget/setup-nuget@v1
- name: Update nuget source
run: |
nuget sources update -Name 'github' `
-Source https://nuget.pkg.github.com/aprismatic/index.json `
-UserName ${{ secrets.GithubUsername }} `
-Password ${{ secrets.GithubToken }} `
-ConfigFile ./nuget.config
- name: Restore packages
run: nuget restore
- name: Build with dotnet
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --configuration Release --no-build