This commit is contained in:
千里走单骑 2024-04-02 23:44:03 +08:00
parent 27c585a78c
commit ef307c9d6d
1 changed files with 3 additions and 2 deletions

View File

@ -16,9 +16,10 @@ jobs:
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: |
echo "nameserver 180.184.1.1" >/etc/resolv.conf
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
apk update && apk add --no-cache docker && npm config set registry https://registry.npmmirror.com
apk update
apk add --no-cache docker
npm config set registry https://registry.npmmirror.com
- name: 拉取代码
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."