From 3711314cedbf1a35242fa6ee27b01bdf5cf93a13 Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Wed, 8 Mar 2023 08:03:55 +0800 Subject: [PATCH] [skip ci] actions/checkout@v3 default fetch-depth is 1 --- .github/workflows/autoupdatefork.yml | 6 ------ .github/workflows/cronet.yml | 3 --- .github/workflows/release.yml | 2 -- 3 files changed, 11 deletions(-) diff --git a/.github/workflows/autoupdatefork.yml b/.github/workflows/autoupdatefork.yml index d133b8dc7..eebc063b7 100644 --- a/.github/workflows/autoupdatefork.yml +++ b/.github/workflows/autoupdatefork.yml @@ -12,12 +12,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Install git - run: | - sudo apt-get update - sudo apt-get -y install git - name: Set env run: | git config --global user.email "github-actions@github.com" diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index 1c0373223..341c3afae 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -11,9 +11,6 @@ jobs: if: ${{ github.repository == 'gedoor/legado' }} steps: - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - name: Set up Gradle uses: gradle/gradle-build-action@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e272af03..9ef8f1d6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,8 +43,6 @@ jobs: play: ${{ needs.prepare.outputs.play }} steps: - uses: actions/checkout@v3 - with: - fetch-depth: 1 - name: Release Apk Sign run: |