mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-06-03 00:58:13 -04:00
Update build.yml
This commit is contained in:
parent
1cdb0b762a
commit
4500b2b3cf
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -1,10 +1,8 @@
|
|||||||
name: AssetStudioBuild
|
name: AssetStudioBuild
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push: {}
|
||||||
branches: [ master ]
|
pull_request: {}
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -13,8 +11,8 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: microsoft/setup-msbuild@v1.1
|
- uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
- name: Download FBX SDK
|
- name: Download FBX SDK
|
||||||
run: |
|
run: |
|
||||||
@ -32,26 +30,26 @@ jobs:
|
|||||||
- name: Build .Net472
|
- name: Build .Net472
|
||||||
run: msbuild /p:Configuration=Release /p:TargetFramework=net472 /verbosity:minimal
|
run: msbuild /p:Configuration=Release /p:TargetFramework=net472 /verbosity:minimal
|
||||||
|
|
||||||
- name: Build .Net5
|
|
||||||
run: msbuild /t:AssetStudioGUI:publish /p:Configuration=Release /p:TargetFramework=net5.0-windows /p:SelfContained=false /verbosity:minimal
|
|
||||||
|
|
||||||
- name: Build .Net6
|
- name: Build .Net6
|
||||||
run: msbuild /t:AssetStudioGUI:publish /p:Configuration=Release /p:TargetFramework=net6.0-windows /p:SelfContained=false /verbosity:minimal
|
run: msbuild /t:AssetStudioGUI:publish /p:Configuration=Release /p:TargetFramework=net6.0-windows /p:SelfContained=false /verbosity:minimal
|
||||||
|
|
||||||
|
- name: Build .Net8
|
||||||
|
run: msbuild /t:AssetStudioGUI:publish /p:Configuration=Release /p:TargetFramework=net8.0-windows /p:SelfContained=false /verbosity:minimal
|
||||||
|
|
||||||
- name: Upload .Net472 Artifact
|
- name: Upload .Net472 Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: AssetStudio.net472
|
name: AssetStudio.net472
|
||||||
path: AssetStudioGUI/bin/Release/net472
|
path: AssetStudioGUI/bin/Release/net472
|
||||||
|
|
||||||
- name: Upload .Net5 Artifact
|
- name: Upload .Net6 Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: AssetStudio.net5
|
name: AssetStudio.net5
|
||||||
path: AssetStudioGUI/bin/Release/net5.0-windows/publish
|
path: AssetStudioGUI/bin/Release/net6.0-windows/publish
|
||||||
|
|
||||||
- name: Upload .Net6 Artifact
|
- name: Upload .Net8 Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: AssetStudio.net6
|
name: AssetStudio.net6
|
||||||
path: AssetStudioGUI/bin/Release/net6.0-windows/publish
|
path: AssetStudioGUI/bin/Release/net8.0-windows/publish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user