Skip to content

Formatting and refactor if to switch with patterns #8

Formatting and refactor if to switch with patterns

Formatting and refactor if to switch with patterns #8

Workflow file for this run

name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
#- name: Restore dependencies
# run: dotnet restore
- name: Publish
run: dotnet publish -c Release -o publish
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: latest
path: publish
overwrite: true