GH: Fix windows workflow failing to upload
This commit is contained in:
parent
b9066e609a
commit
6c8eb009e2
|
@ -157,11 +157,13 @@ jobs:
|
||||||
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows
|
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=windows
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
|
shell: bash
|
||||||
env:
|
env:
|
||||||
OUTDIR: ${{ startsWith(matrix.target, 'template') && 'out/templates' || 'out/' }}
|
OUTDIR: ${{ startsWith(matrix.target, 'template') && 'out/templates' || 'out/' }}
|
||||||
run: |
|
run: |
|
||||||
Remove-Item bin/* -Include *.exp,*.lib,*.pdb -Force
|
rm -f bin/*.{exp,lib,pdb}
|
||||||
Move-Item -Path bin/* -Destination ${{env.OUTDIR}}
|
mkdir -p out/templates/
|
||||||
|
mv bin/* ${{env.OUTDIR}}
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Reference in New Issue