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..c9c44d86b 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 @@ -22,7 +22,7 @@ jobs: echo "PR_BODY=Changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/$current_cronet_version..$lastest_cronet_version)" >> $GITHUB_ENV - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 continue-on-error: true with: token: ${{ secrets.ACTIONS_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c36fdb918..fbf81413d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,11 +42,11 @@ jobs: VERSION: ${{ needs.prepare.outputs.version }} play: ${{ needs.prepare.outputs.play }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/.gradle/caches @@ -81,7 +81,7 @@ jobs: cp -rf ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk ${{ github.workspace }}/apk/ - name: Upload App To Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: legado_${{ env.product }} path: ${{ github.workspace }}/apk/*.apk diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index fd20fd95c..729b831fa 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -18,7 +18,7 @@ jobs: issues: write steps: - - uses: actions/stale@v3 + - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: '由于长期没有状态更新,该问题将于5天后自动关闭。如有需要可重新打开。' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88ca21f9e..c94681379 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,10 +47,10 @@ 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 + - uses: actions/cache@v3 with: path: | ~/.gradle/caches @@ -90,7 +90,7 @@ jobs: mv "$file" ${{ github.workspace }}/apk/legado_${{ env.product }}_${{ env.VERSIONL }}_$typeName.apk done - name: Upload App To Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: legado.${{ env.product }}.${{ env.type }} path: ${{ github.workspace }}/apk/*.apk @@ -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/ diff --git a/English.md b/English.md index 833e59aef..bb2194ea5 100644 --- a/English.md +++ b/English.md @@ -1,9 +1,6 @@ # [English](English.md) [中文](README.md) [![icon_android](https://github.com/gedoor/gedoor.github.io/blob/master/static/img/legado/icon_android.png)](https://play.google.com/store/apps/details?id=io.legado.play.release) - - -