Update eshoponweb-cicd.yml #8
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: eShopOnWeb Build and Test | |
#Triggers (uncomment line below to use it) | |
#on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
dotnet-quality: 'preview' | |
- name: Build with dotnet | |
run: dotnet build ./eShopOnWeb.sln --configuration Release | |
- name: Test with dotnet | |
run: dotnet test ./eShopOnWeb.sln --configuration Release |