chore(ci): migrate to checkout@v4 (#1368)
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
parent
e7a0209140
commit
62ec40c3c1
|
@ -9,7 +9,7 @@ jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Check Image
|
- name: Check Image
|
||||||
run: |
|
run: |
|
||||||
./hack/verify-image.sh mirror.txt
|
./hack/verify-image.sh mirror.txt
|
||||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
if: github.repository == 'DaoCloud/public-image-mirror'
|
if: github.repository == 'DaoCloud/public-image-mirror'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Start Proxy
|
- name: Start Proxy
|
||||||
env:
|
env:
|
||||||
only_proxy: "m.daocloud.io"
|
only_proxy: "m.daocloud.io"
|
||||||
|
@ -37,7 +37,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
|
BADGE_PREFIX: "git://${{ github.repository }}/gh-pages"
|
||||||
QUICKLY: "true"
|
QUICKLY: "true"
|
||||||
run: |
|
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
|
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
|
./hack/badge.sh
|
||||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Start Proxy
|
- name: Start Proxy
|
||||||
env:
|
env:
|
||||||
only_proxy: "m.daocloud.io"
|
only_proxy: "m.daocloud.io"
|
||||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Start Proxy
|
- name: Start Proxy
|
||||||
env:
|
env:
|
||||||
only_proxy: "m.daocloud.io"
|
only_proxy: "m.daocloud.io"
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Start Proxy
|
- name: Start Proxy
|
||||||
env:
|
env:
|
||||||
only_proxy: "m.daocloud.io"
|
only_proxy: "m.daocloud.io"
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Check Issue
|
- name: Check Issue
|
||||||
env:
|
env:
|
||||||
MESSAGE: "${{ github.event.issue.body }}"
|
MESSAGE: "${{ github.event.issue.body }}"
|
||||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
verify-pr:
|
verify-pr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Commit PR
|
- name: Commit PR
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "bot"
|
git config --global user.name "bot"
|
||||||
|
|
Loading…
Reference in New Issue