From d521e2ca74acaff94691b11c814281c03f5e203b Mon Sep 17 00:00:00 2001 From: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> Date: Tue, 10 Sep 2024 20:49:08 +0800 Subject: [PATCH] Fix workflow error on PRs --- .github/workflows/build_debug_apk.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_debug_apk.yml b/.github/workflows/build_debug_apk.yml index 2cb49104ead..847414ec90f 100644 --- a/.github/workflows/build_debug_apk.yml +++ b/.github/workflows/build_debug_apk.yml @@ -16,8 +16,8 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Fetch main branch - run: git fetch origin main:main + - name: Fetch all branches + run: git fetch origin - uses: actions/setup-java@v4 with: distribution: 'zulu'