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

Commit

Permalink
增加工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
Yushu2606 committed Mar 10, 2023
1 parent 14760c0 commit 32c9098
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# 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

0 comments on commit 32c9098

Please sign in to comment.