Skip to content

Commit b631054

Browse files
reverted build-debug-apk.yml
1 parent 187bc65 commit b631054

1 file changed

Lines changed: 5 additions & 16 deletions

File tree

.github/workflows/build-debug-apk.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if [ ! -f "gradlew" ]; then
2323
echo "Gradle wrapper missing, generating..."
2424
wget https://services.gradle.org/distributions/gradle-9.4.1-bin.zip
25-
unzip -q gradle-9.4.1/bin.zip
25+
unzip -q gradle-9.4.1-bin.zip
2626
./gradle-9.4.1/bin/gradle wrapper --gradle-version 9.4.1
2727
else
2828
echo "Gradle wrapper already exists"
@@ -37,19 +37,8 @@ jobs:
3737
java-version: '17'
3838
distribution: 'temurin'
3939

40-
# IMPROVEMENT: Cache Gradle dependencies to speed up future builds
41-
- name: Cache Gradle packages
42-
uses: actions/cache@v4
43-
with:
44-
path: |
45-
~/.gradle/caches
46-
~/.gradle/wrapper
47-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
48-
restore-keys: |
49-
${{ runner.os }}-gradle-
50-
5140
- name: Build Debug APK
52-
run: ./gradlew assembleDebug --stacktrace
41+
run: ./gradlew assembleDebug
5342

5443
- name: Prepare beta builds folder
5544
run: |
@@ -63,8 +52,8 @@ jobs:
6352
6453
- name: Commit APK
6554
run: |
66-
git config user.name "github-actions[bot]"
67-
git config user.email "github-actions[bot]@users.noreply.github.com"
55+
git config user.name "github-actions"
56+
git config user.email "github-actions@github.com"
6857
git add beta-builds/app-debug.apk
69-
git commit -m "chore: create beta build APK [skip ci]" || echo "No changes to commit"
58+
git commit -m "create beta build APK" || echo "No changes to commit"
7059
git push

0 commit comments

Comments
 (0)