GHA: Separate debug symbols upload
This commit is contained in:
parent
4f18bc36d9
commit
4d193c53ce
|
@ -379,18 +379,30 @@ jobs:
|
||||||
cp {README,LICENSE,LOGO_LICENSE}.md out/addons/limboai/
|
cp {README,LICENSE,LOGO_LICENSE}.md out/addons/limboai/
|
||||||
cp -R demo/demo/ out/demo/
|
cp -R demo/demo/ out/demo/
|
||||||
cp demo/LICENSE_ASSETS.md out/demo/
|
cp demo/LICENSE_ASSETS.md out/demo/
|
||||||
rm -f out/addons/limboai/bin/*.{exp,lib,pdb}
|
rm -f out/addons/limboai/bin/*.{exp,lib}
|
||||||
echo "${LIMBOAI_VERSION}" > out/addons/limboai/version.txt
|
echo "${LIMBOAI_VERSION}" > out/addons/limboai/version.txt
|
||||||
echo "---"
|
echo "---"
|
||||||
ls -R out/
|
ls -R out/
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
env:
|
|
||||||
NAME: tmp-gdextension.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
|
||||||
with:
|
with:
|
||||||
name: ${{ env.NAME }}
|
name: tmp-gdextension.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
||||||
path: out/*
|
path: |
|
||||||
|
out/*
|
||||||
|
!out/**/*.debug
|
||||||
|
!out/**/*.pdb
|
||||||
|
!out/**/*.dSYM
|
||||||
|
|
||||||
|
- name: Upload debug symbols
|
||||||
|
if: inputs.debug-symbols
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: tmp-gdextension-symbols.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
||||||
|
path: |
|
||||||
|
out/**/*.debug
|
||||||
|
out/**/*.pdb
|
||||||
|
out/**/*.dSYM
|
||||||
|
|
||||||
package-extension:
|
package-extension:
|
||||||
name: 📦 Package extension
|
name: 📦 Package extension
|
||||||
|
@ -405,6 +417,14 @@ jobs:
|
||||||
pattern: tmp-gdextension.*
|
pattern: tmp-gdextension.*
|
||||||
delete-merged: true
|
delete-merged: true
|
||||||
|
|
||||||
|
- name: Merge debug symbols artifacts
|
||||||
|
if: inputs.debug-symbols
|
||||||
|
uses: actions/upload-artifact/merge@v4
|
||||||
|
with:
|
||||||
|
name: ${{needs.gdextension.outputs.name-prefix}}.debug-symbols
|
||||||
|
pattern: tmp-gdextension-symbols.*
|
||||||
|
delete-merged: true
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue