Compare commits
4 Commits
d0c1c72940
...
infra/expo
| Author | SHA1 | Date | |
|---|---|---|---|
| 065ec0c39d | |||
| 9855d02525 | |||
| a10f48cb29 | |||
| f4ca2a8074 |
@ -60,35 +60,19 @@ jobs:
|
||||
# Verify files are where Godot expects them
|
||||
ls -l "$TEMPLATE_DIR"
|
||||
|
||||
- name: Debug Version
|
||||
run: |
|
||||
echo "Editor reports version:"
|
||||
./godot_headless --version
|
||||
|
||||
echo "Templates installed at:"
|
||||
ls -R $HOME/.local/share/godot/export_templates/
|
||||
|
||||
- name: Export Windows Client
|
||||
run: |
|
||||
mkdir -p build/windows
|
||||
|
||||
cd src/
|
||||
|
||||
# "Windows Desktop" must match the name in your export_presets.cfg
|
||||
../godot_headless --headless --export-release "Windows Desktop" ../build/windows/game.exe
|
||||
|
||||
cd ..
|
||||
./godot_headless --headless --export-release "Windows Desktop" ./build/windows/moa.exe
|
||||
|
||||
- name: Export Linux Client
|
||||
run: |
|
||||
mkdir -p build/linux
|
||||
|
||||
cd src/
|
||||
|
||||
# "Linux" must match the name in your export_presets.cfg
|
||||
../godot_headless --headless --export-release "Linux" ../build/linux/game.x86_64
|
||||
|
||||
cd ..
|
||||
./godot_headless --headless --export-release "Linux" ./build/linux/moa.x86_64
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
@ -115,6 +99,13 @@ jobs:
|
||||
zip -r ../../$ZIP_NAME .
|
||||
cd ../..
|
||||
|
||||
echo "Removing old Nightly artifact..."
|
||||
# We run DELETE first. We add '|| true' so the build doesn't fail
|
||||
# if this is the very first time (which would return 404 Not Found).
|
||||
curl -X DELETE \
|
||||
--user "${{ gitea.actor }}:$TOKEN" \
|
||||
"$API_URL/$PACKAGE_NAME/$VERSION/$ZIP_NAME" || true
|
||||
|
||||
echo "Uploading Nightly..."
|
||||
# PUT request replaces the file if it exists
|
||||
curl --fail --user "${{ gitea.actor }}:$TOKEN" \
|
||||
|
||||
0
.gitmodules
vendored
0
.gitmodules
vendored
|
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 994 B |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user