Generate version.txt for template build jobs
This commit is contained in:
parent
71909648b7
commit
948e99a9ef
|
@ -180,6 +180,7 @@ jobs:
|
|||
|
||||
mkdir -p out/templates/
|
||||
mv bin/android_* out/templates/
|
||||
echo "${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" > out/templates/version.txt
|
||||
ls -l out/*
|
||||
|
||||
- name: Delete Android template builds
|
||||
|
|
|
@ -190,6 +190,8 @@ jobs:
|
|||
cd ios_xcode
|
||||
zip -q -9 -r ${{github.workspace}}/out/templates/ios.zip *
|
||||
|
||||
echo "${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" > ${{github.workspace}}/out/templates/version.txt
|
||||
|
||||
ls -l ${{github.workspace}}/out/*
|
||||
|
||||
- name: Upload template bundle
|
||||
|
|
|
@ -185,6 +185,7 @@ jobs:
|
|||
BUILD_TYPE: ${{ endsWith(matrix.target, 'release') && 'release' || 'debug' }}
|
||||
run: |
|
||||
mv out/templates/${BIN} out/templates/linux_${BUILD_TYPE}.${{matrix.arch}}
|
||||
echo "${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" > out/templates/version.txt
|
||||
ls -R out/
|
||||
|
||||
- name: Upload artifact
|
||||
|
|
|
@ -265,6 +265,7 @@ jobs:
|
|||
rm bin/*
|
||||
mkdir -p out/templates/
|
||||
mv macos.zip out/templates/macos.zip
|
||||
echo "${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" > out/templates/version.txt
|
||||
ls out/templates/
|
||||
|
||||
- uses: geekyeggo/delete-artifact@v2
|
||||
|
|
|
@ -132,6 +132,7 @@ jobs:
|
|||
mv bin/godot.web.template_debug.wasm32.zip out/templates/web_debug.zip || true
|
||||
mv bin/godot.web.template_debug.wasm32.dlink.zip out/templates/web_dlink_debug.zip || true
|
||||
rm -rf bin/
|
||||
echo "${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" > out/templates/version.txt
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
@ -181,6 +181,7 @@ jobs:
|
|||
run: |
|
||||
mv out/templates/${BIN}.exe out/templates/windows_${BUILD_TYPE}_${{matrix.arch}}.exe
|
||||
mv out/templates/${BIN}.console.exe out/templates/windows_${BUILD_TYPE}_${{matrix.arch}}_console.exe
|
||||
echo "${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" > out/templates/version.txt
|
||||
ls -R out/
|
||||
|
||||
- name: Upload artifact
|
||||
|
|
Loading…
Reference in New Issue