Skip to content

Commit

Permalink
🔧 try android again
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Jan 15, 2025
1 parent 2523c0a commit b9d4bff
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ env:
ANDROID_KEYSTORE_DEBUG_BASE64: ${{ secrets.ANDROID_KEYSTORE_DEBUG_BASE64 }}
SERVICE_ACCOUNT_JSON: ${{ secrets.ANDROID_SERVICE_ACCOUNT_JSON }}
WORKING_DIRECTORY: .
APPNAME: GodotDiceRoller
APPDOMAIN: net.canvoki.godot-dice-roller
GODOT_VERSION: 4.3
APPNAME: Godot Dice Roller
APPDOMAIN: net.canvoki.godot_dice_roller

jobs:
deploy:
Expand All @@ -36,16 +35,21 @@ jobs:
- name: Godot Asset Lib Client install
shell: bash
run: |
sudo apt install imagemagick
pip install --user godot-asset-library-client
- name: Read version number and version code
run: |
python tools/android-metadata.py # generates android metadata from README.md, CHANGES.md and screenshots
GODOT_VERSION=$(godot-asset-library-client project-field godot_version)
APPNAME=$(cat metadata/en-US/title.txt)
VERSION_NAME=$(godot-asset-library-client project-field project_version)
IFS='.' read -r -a v <<<"$VERSION_NAME"
VERSION_CODE=$(printf "%03d" ${v[*]})
echo "GODOT_VERSION=$GODOT_VERSION" >> $GITHUB_ENV
echo "APPNAME=$APPNAME" >> $GITHUB_ENV
echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
echo "VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV
python tools/android-metadata.py # generates android metadata from README.md, CHANGES.md and screenshots
- name: Create service-account.json
if: false
Expand Down

0 comments on commit b9d4bff

Please sign in to comment.