Skip to content

Remove manual installation of .NET SDK in pipeline - use github task … #12

Remove manual installation of .NET SDK in pipeline - use github task …

Remove manual installation of .NET SDK in pipeline - use github task … #12

name: Build Artifacts
on:
push:
branches:
- develop
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Restore
run: dotnet restore
- name: Publish
run: dotnet publish -c Release --artifacts-path ./output
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-outputs
path: ./output/publish
if-no-files-found: error