Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

更新 Program.cs

更新 Program.cs #11

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
pull_request:
jobs:
build:
runs-on: windows-2022
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 publish
- name: Upload Client Artifact
uses: actions/upload-artifact@v3
with:
path: Client/bin/Release/net8.0/win-x64/publish
name: Client
- name: Upload Windows ClientUI Artifact
uses: actions/upload-artifact@v3
with:
path: ClientUI/bin/Release/net8.0-windows/win-x64/publish
name: ClientUI-win-x64
- name: Upload Server Artifact
uses: actions/upload-artifact@v3
with:
path: Server/bin/Release/net8.0/win-x64/publish
name: Server