6 Commits

Author SHA1 Message Date
3db3075ca9 Fix tag fetch in pipeline
All checks were successful
Build Android APK / build (push) Successful in 3m2s
2026-04-17 14:32:30 +02:00
a299f081d5 Fix release creation by fetching tags
Some checks failed
Build Android APK / build (push) Failing after 3m0s
2026-04-17 14:16:25 +02:00
e69a617a96 Restore original SoundManager
Some checks failed
Build Android APK / build (push) Failing after 3m1s
2026-04-17 13:52:10 +02:00
d4b079bc75 Use Java 17 for compatibility
Some checks failed
Build Android APK / build (push) Has been cancelled
2026-04-17 13:49:33 +02:00
de1bd7c1b8 Fix sound overlapping and keystore path in pipeline
All checks were successful
Build Android APK / build (push) Successful in 2m54s
2026-04-17 13:46:20 +02:00
683287bfbb Configure signing for release builds
Some checks failed
Build Android APK / build (push) Failing after 1m36s
2026-04-17 13:39:39 +02:00
2 changed files with 22 additions and 0 deletions

View File

@@ -21,6 +21,15 @@ jobs:
- name: Setup Android SDK - name: Setup Android SDK
uses: android-actions/setup-android@v2 uses: android-actions/setup-android@v2
- name: Setup Keystore
run: |
echo "${{ secrets.ANDROIDKEYSTOREBASE64 }}" | base64 -d > app/helldivers.keystore
env:
ANDROIDKEYSTOREPATH: app/helldivers.keystore
ANDROIDKEYSTOREPASS: ${{ secrets.ANDROIDKEYSTOREPASS }}
ANDROIDKEYALIAS: ${{ secrets.ANDROIDKEYALIAS }}
ANDROIDKEYPASS: ${{ secrets.ANDROIDKEYPASS }}
- name: Build with Gradle - name: Build with Gradle
run: | run: |
chmod +x ./gradlew chmod +x ./gradlew
@@ -34,6 +43,9 @@ jobs:
- name: Create Release - name: Create Release
run: | run: |
# Fetch the specific tag from remote
git fetch origin tag v0.2.0 --force
# Get tag name from git # Get tag name from git
TAG_NAME=$(git describe --tags --abbrev=0 2>/dev/null || echo "") TAG_NAME=$(git describe --tags --abbrev=0 2>/dev/null || echo "")

View File

@@ -15,8 +15,18 @@ android {
multiDexEnabled true multiDexEnabled true
} }
signingConfigs {
release {
storeFile file(System.getenv("ANDROIDKEYSTOREPATH") ?: "helldivers.keystore")
storePassword System.getenv("ANDROIDKEYSTOREPASS") ?: "HelldiversPorLaSuPerTierraYKevinTambien"
keyAlias System.getenv("ANDROIDKEYALIAS") ?: "helldivers"
keyPassword System.getenv("ANDROIDKEYPASS") ?: "HelldiversPorLaSuPerTierraYKevinTambien"
}
}
buildTypes { buildTypes {
release { release {
signingConfig signingConfigs.release
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
multiDexEnabled true multiDexEnabled true