fix ubuntu
This commit is contained in:
parent
ef307c9d6d
commit
1a254003b0
|
@ -10,15 +10,15 @@ env:
|
|||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: k8s # <-- Used runner label
|
||||
container: node:lts-alpine
|
||||
container: ubuntu:latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- 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: |
|
||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
|
||||
apk update
|
||||
apk add --no-cache docker
|
||||
sed -i s:/archive.ubuntu.com:/mirrors.volces.com/ubuntu:g /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt install -y git nodejs npm
|
||||
npm config set registry https://registry.npmmirror.com
|
||||
- name: 拉取代码
|
||||
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
||||
|
|
Loading…
Reference in New Issue