Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #26
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: Test .NET (Windows) | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Add github packages store as NuGet source | |
run: | | |
dotnet nuget update source github ` | |
--source https://nuget.pkg.github.com/aprismatic/index.json ` | |
--username "${{ github.actor }}" ` | |
--password "${{ github.token }}" ` | |
--configfile ./nuget.config | |
- name: Restore packages | |
run: dotnet restore | |
- name: Build with dotnet | |
run: dotnet build --configuration Release --no-restore | |
- name: Run tests | |
run: dotnet test --configuration Release --no-build |