Skip to content

Commit 199050b

Browse files
committed
Try to get artifact working
1 parent 09322c9 commit 199050b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,19 @@ jobs:
9696
dotnet-version: 9.0.x
9797

9898
- name: Build Editor App
99-
run: dotnet publish -c Release -r win-x64 --sc /p:Version=${{ env.BuildVersion }} -o editor "${{ env.EditorProject }}"
99+
run: dotnet publish -c Release -r win-x64 --sc /p:Version=${{ env.BuildVersion }} -o "editor-temp" "${{ env.EditorProject }}"
100100

101101
- name: Package Editor App
102-
run: Compress-Archive -Path editor/* -Destination editor-${{env.BuildVersion}}.zip
102+
shell: pwsh
103+
run: |
104+
New-Item -Path . -Name "editor-build" -ItemType "directory"
105+
Compress-Archive -Path "editor-temp/*" -Destination "/editor-build/editor-${{env.BuildVersion}}.zip"
103106
104107
- name: Publish Editor Artifact
105108
uses: actions/upload-artifact@v4
106109
with:
107110
name: editor-app
108-
path: /editor-${{env.BuildVersion}}.zip
111+
path: /editor-build
109112

110113
package-and-release:
111114
runs-on: windows-latest

0 commit comments

Comments
 (0)