chore(ci): migrate to checkout@v4 (#1368)

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
Neko Ayaka 2023-11-30 13:45:51 +08:00 committed by GitHub
parent e7a0209140
commit 62ec40c3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check Image
run: |
./hack/verify-image.sh mirror.txt

View File

@ -10,7 +10,7 @@ jobs:
if: github.repository == 'DaoCloud/public-image-mirror'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Start Proxy
env:
only_proxy: "m.daocloud.io"
@ -37,7 +37,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
QUICKLY: "true"
QUICKLY: "true"
run: |
wget https://github.com/wzshiming/putingh/releases/download/v0.6.3/putingh_linux_amd64 -O /usr/local/bin/putingh && chmod +x /usr/local/bin/putingh
./hack/badge.sh

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Start Proxy
env:
only_proxy: "m.daocloud.io"

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Start Proxy
env:
only_proxy: "m.daocloud.io"

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Start Proxy
env:
only_proxy: "m.daocloud.io"

View File

@ -16,7 +16,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Check Issue
env:
MESSAGE: "${{ github.event.issue.body }}"

View File

@ -18,7 +18,7 @@ jobs:
verify-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Commit PR
run: |
git config --global user.name "bot"