Files
Yae/.github/workflows/dotnet.yml
HolographicHat 9abdd123ee #93
remove appcenter
2024-04-02 15:06:05 +08:00

31 lines
623 B
YAML

name: .NET Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
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: Build
run: dotnet build -c Release --no-restore
- name: Publish
run: dotnet publish --property:OutputPath=.\publish\
- name: Upload artifact
uses: actions/upload-artifact@v3.1.0
with:
name: Artifacts
path: publish