diff --git a/.github/workflows/autoupdatefork.yml b/.github/workflows/autoupdatefork.yml index 9fa5d6425..d133b8dc7 100644 --- a/.github/workflows/autoupdatefork.yml +++ b/.github/workflows/autoupdatefork.yml @@ -11,7 +11,7 @@ jobs: if: ${{ github.event.repository.owner.id == github.event.sender.id && github.actor != 'gedoor' }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install git diff --git a/.github/workflows/cronet.yml b/.github/workflows/cronet.yml index d1b93dc02..6332c5d5f 100644 --- a/.github/workflows/cronet.yml +++ b/.github/workflows/cronet.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.actor == 'gedoor' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c36fdb918..d2a8ae2aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: VERSION: ${{ needs.prepare.outputs.version }} play: ${{ needs.prepare.outputs.play }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88ca21f9e..7fa0a78ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: VERSION: ${{ needs.prepare.outputs.version }} VERSIONL: ${{ needs.prepare.outputs.versionL }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: actions/cache@v2 @@ -106,7 +106,7 @@ jobs: # 蓝奏云里的文件夹ID(阅读3测试版:2670621) LANZOU_FOLDER_ID: '2670621' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/download-artifact@v2 with: path: apk/ @@ -124,7 +124,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event_name != 'pull_request' && github.actor == 'gedoor' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/download-artifact@v2 with: path: apk/ @@ -150,7 +150,7 @@ jobs: CHANNEL_ID: ${{ secrets.CHANNEL_ID }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/download-artifact@v2 with: path: apk/