Update README.md #301
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: .NET | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
#- name: Zip the build directory | |
# # You may pin to the exact commit or the version. | |
# # uses: montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 | |
# uses: TheDoctor0/[email protected] | |
# with: | |
# path: . # optional, default is . | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: IRTV | |
path: bin/Release/net5.0-windows | |
retention-days: 120 |