Skip to content

Commit f216a85

Browse files
committed
update version latest
1 parent ed83b43 commit f216a85

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Build Game
5252
uses: blazium-engine/export-blazium-game@master
5353
with:
54-
blazium-version: 0.3.88-nightly
54+
blazium-version: latest
5555
game-name: ${{ env.GAME_NAME }}
5656
platform-name: ${{ matrix.platform }}
5757
secret-macos-build-certificate-base64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ inputs:
1111
blazium-version:
1212
description: >-
1313
Blazium Engine version: e.g., 0.1.184-nightly, 0.1.188-nightly, etc. Must include major, minor, and patch.
14-
required: true
14+
default: latest
1515
game-name:
1616
description: >-
1717
Game name: e.g., ProjectHangman
@@ -210,7 +210,11 @@ runs:
210210
mkdir -p android/build
211211
chmod 600 "$BLAZIUM_TEMPLATE/android_source.zip"
212212
# Replace - with .
213-
version_dot=$(echo "${{ inputs.blazium-version }}" | sed 's/-/./')
213+
if [[ "${{ env.BLAZIUM_INSTALLED_VERSION }}" != *-* ]]; then
214+
version_dot="${{ env.BLAZIUM_INSTALLED_VERSION }}.release"
215+
else
216+
version_dot=$(echo "${{ env.BLAZIUM_INSTALLED_VERSION }}" | sed 's/-/./')
217+
fi
214218
echo "$version_dot"
215219
echo "$version_dot" >> android/.build_version
216220
unzip $BLAZIUM_TEMPLATE/android_source.zip -d android/build

0 commit comments

Comments
 (0)