Fix 12
All checks were successful
godot-ci export / build (push) Successful in 1m17s

This commit is contained in:
2025-05-29 12:00:00 +02:00
parent 566633a9dc
commit 698b6061bb

View File

@@ -54,20 +54,20 @@ jobs:
run: |
mkdir -v -p build/windows
cd $PROJECT_PATH
./godot --headless --verbose --export-release "Windows Desktop" "build/windows/$EXPORT_NAME_$GAME_VERSION.exe"
./godot --headless --verbose --export-release "Windows Desktop" "build/windows/$EXPORT_NAME.exe"
ls -la "build/windows/"
- name: Linux Build
run: |
mkdir -v -p build/linux
cd $PROJECT_PATH
./godot --headless --verbose --export-release "Linux/X11" "build/linux/$EXPORT_NAME_$GAME_VERSION.x86_64"
./godot --headless --verbose --export-release "Linux/X11" "build/linux/$EXPORT_NAME.x86_64"
- name: MacOS Build
run: |
mkdir -v -p build/macos
cd $PROJECT_PATH
./godot --headless --verbose --export-release "macOS" "build/macos/$EXPORT_NAME_$GAME_VERSION.zip"
./godot --headless --verbose --export-release "macOS" "build/macos/$EXPORT_NAME.zip"
- name: Upload Artifact Windows
run: |
@@ -75,8 +75,8 @@ jobs:
ls -la build
ls -la build/windows
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
--upload-file "build/windows/$EXPORT_NAME_$GAME_VERSION.exe" \
"https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/windows/$EXPORT_NAME_$GAME_VERSION.exe"
--upload-file "build/windows/$EXPORT_NAME.exe" \
https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/$EXPORT_NAME.exe
- name: Upload Artifact Linux
run: |
@@ -84,17 +84,17 @@ jobs:
ls -la build
ls -la build/linux
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
--upload-file "build/linux/$EXPORT_NAME_$GAME_VERSION.x86_64" \
"https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/linux/$EXPORT_NAME_$GAME_VERSION.x86_64"
--upload-file "build/linux/$EXPORT_NAME.x86_64" \
https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/$EXPORT_NAME.x86_64
- name: Upload Artifact Linux
- name: Upload Artifact MacOS
run: |
echo $EXPORT_DIR
ls -la build
ls -la build/macos
curl --user ${{ github.repository_owner }}:${{ secrets.TOKEN }} \
--upload-file "build/macos/$EXPORT_NAME_$GAME_VERSION.zip" \
"https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/macos/$EXPORT_NAME_$GAME_VERSION.zip"
--upload-file "build/macos/$EXPORT_NAME.zip" \
https://gitea.sanplex.tech/api/packages/sansan/generic/GodotTest/$GAME_VERSION/$EXPORT_NAME.zip
# uses: actions/upload-artifact@v4