Skip to content

Commit

Permalink
🌖 GitHub Diff
Browse files Browse the repository at this point in the history
  • Loading branch information
wobbier committed Dec 27, 2023
1 parent 0ca9875 commit 4701d6f
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/Win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v1.0.2

- name: Check out repo
uses: actions/checkout@v4.1.1
Expand All @@ -39,7 +39,7 @@ jobs:
run: choco install mono

- name: Setup dotnet
uses: actions/setup-dotnet@v3.2.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: "5.0.100"

Expand All @@ -54,10 +54,6 @@ jobs:
shell: cmd
run: dir && cd Project && dir && call GenerateSolution.bat && cd .. && dir

- name: Copy Assets
shell: cmd
run: call CopyAssets.bat

- name: Compile Tools
if: ${{ matrix.buildconfig == 'Game_Win64' }}
shell: cmd
Expand All @@ -75,12 +71,12 @@ jobs:
shell: cmd
continue-on-error: true
run: |
robocopy ".build/Release/Assets" ".build\\Editor_Release\\Assets" *.* /w:0 /r:1 /v /E & exit 0
robocopy "Engine/Tools" ".build\\Editor_Release\\Engine\\Tools" *.* /w:0 /r:1 /v /E & exit 0
robocopy ".build/Release/Assets" ".build\\Editor_Release\\Assets" *.* /w:0 /r:1 /v /E
robocopy "Engine/Tools" ".build\\Editor_Release\\Engine\\Tools" *.* /w:0 /r:1 /v /E
- name: Archive Editor
if: ${{ matrix.buildconfig == 'Editor' }}
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v2
with:
name: Drumsmith v${{github.run_number}} - Editor
path: |
Expand All @@ -107,11 +103,11 @@ jobs:
shell: cmd
continue-on-error: true
run: |
robocopy ".build/Editor_Release/Assets" ".build\\Game_Win64_${{matrix.configuration}}\\Assets" *.* /w:0 /r:1 /v /E & exit 0
robocopy ".build/Editor_Release/Assets" ".build\\Game_Win64_${{matrix.configuration}}\\Assets" *.* /w:0 /r:1 /v /E
- name: Archive Build
if: ${{ matrix.buildconfig == 'Game_Win64' }}
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v2
with:
name: Drumsmith v${{github.run_number}} - ${{matrix.buildconfig}}_${{matrix.configuration}}
path: |
Expand All @@ -133,12 +129,12 @@ jobs:
shell: cmd
continue-on-error: true
run: |
robocopy "Engine/Tools/HUB/Assets" ".build\\Editor_Release\\Assets" *.* /w:0 /r:1 /v /E & exit 0
robocopy "Engine/Tools/HUB" ".build\\Editor_Release" *.exe /w:0 /r:1 /v /E & exit 0
robocopy "Engine/Tools/HUB/Assets" ".build\\Editor_Release\\Assets" *.* /w:0 /r:1 /v /E
robocopy "Engine/Tools/HUB" ".build\\Editor_Release" *.exe /w:0 /r:1 /v /E
- name: Archive Tools
if: ${{ matrix.buildconfig == 'Editor' }}
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v2
with:
name: HUB v${{github.run_number}}
path: |
Expand Down

0 comments on commit 4701d6f

Please sign in to comment.