mirror of
https://github.com/HolographicHat/Yae.git
synced 2025-12-06 06:32:52 +08:00
Update ci
This commit is contained in:
13
.github/workflows/dotnet.yml
vendored
13
.github/workflows/dotnet.yml
vendored
@@ -21,10 +21,17 @@ jobs:
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build -c Release --no-restore
|
||||
- name: Publish
|
||||
- name: Publish-AOT
|
||||
run: dotnet publish --property:OutputPath=.\publish\
|
||||
- name: Upload artifact
|
||||
- name: Upload-AOT
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Artifacts
|
||||
name: Artifacts-AOT
|
||||
path: YaeAchievement\publish\publish
|
||||
- name: Publish-NoAOT
|
||||
run: dotnet publish --property:OutputPath=.\naot-publish\ --property:PublishAot=false --property:PublishSingleFile=true --property:PublishTrimmed=true
|
||||
- name: Upload-NoAOT
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Artifacts-NoAOT
|
||||
path: YaeAchievement\naot-publish\publish
|
||||
|
||||
Reference in New Issue
Block a user