From 1a254003b0f91db8cd15dd7b27a926c81e601046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E9=87=8C=E8=B5=B0=E5=8D=95=E9=AA=91?= Date: Tue, 2 Apr 2024 23:47:49 +0800 Subject: [PATCH] fix ubuntu --- .gitea/workflows/test.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 837bca0..4f3c411 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -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