Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexytomi authored Dec 5, 2024
1 parent ac3e9c8 commit d7489fb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,16 @@ jobs:
keystore_alias: frog
JDK_DIR: /home/runner/jdks/
run: |
./gradlew clean
./gradlew android:assembleDebug --stacktrace --info
git clone --depth=1 --branch=master https://github.com/Anuken/Mindustry
cd Mindustry
echo "BODY=$(git rev-parse HEAD)" >> $GITHUB_ENV
sed -i 's/applicationId "io.anuke.mindustry"/applicationId "io.anuke.mindustry.be"/g' android/build.gradle
sed -i 's/"io.anuke.mindustry"/"io.anuke.mindustry.be"/g' android/AndroidManifest.xml
sed -i 's/Mindustry/Mindustry BE/g' android/res/values/strings.xml
./gradlew pack
./gradlew android:assembleDebug --stacktrace
echo "JDK directory: $JDK_DIR"
echo $PWD
- name: Upload Android artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit d7489fb

Please sign in to comment.