fix(release): fix checkout step, remove duplicate git checkout
dev / Build debug APK (push) Successful in 30s
release / Build & attach release APK (push) Failing after 43s

This commit is contained in:
Incido Developer committed 2026-08-20 13:24:33 +12:00
1 parent c4c8ef365f
commit 3c8d01cca9
1 file changed
+3 -3
+3 -3
View File
@@ -13,9 +13,10 @@ jobs:
steps:
- name: Checkout
run: |
git clone https://git.trevena.info/nick/incido.git repo
git clone --depth=1 https://git.trevena.info/nick/incido.git repo
cd repo
git fetch origin tag ${{ secrets.TOKEN/refs/tags/*:refs/tags/* }} --no-tags || true
git fetch --tags origin
git checkout ${{ github.ref_name }}
- name: Set up JDK 17
run: |
@@ -59,7 +60,6 @@ jobs:
export PATH=$JAVA_HOME/bin:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH
chmod +x ./gradlew
git checkout ${{ github.ref_name }}
git status
ls -la
ls -la app/build/outputs/apk/release/ 2>/dev/null || echo "No release dir"