fix(release): fix checkout step, remove duplicate git checkout
This commit is contained in:
1 parent
c4c8ef365f
commit
3c8d01cca9
1 file changed
+3
-3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user