Add ASP.NET Web App Build on Ubuntu Runner starter and solution files… #1
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: ASP.NET Web App Build Window Runner | |
on: | |
push: | |
paths: | |
- '.github/workflows/aspnet-webapp-build-windows-runner.yml' | |
- 'src/dotnet/WebApp/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: ./src/dotnet/WebApp | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4.1.7 | |
- name: Set up .NET Core | |
uses: actions/setup-dotnet@v4.0.1 | |
with: | |
dotnet-version: '8.x' | |
- name: Build Code | |
run: dotnet build --configuration Release | |
- name: Publish Code | |
run: dotnet publish -c Release --property:PublishDir="${{runner.temp}}/webapp" |