From e0b7ea984fd602fb132352af82e57da864f82685 Mon Sep 17 00:00:00 2001 From: "Z.To" Date: Thu, 23 Apr 2026 20:33:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=20Gitea=20workflow=20?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/release.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cbbe11c..bdca853 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -5,15 +5,17 @@ on: tags: - 'v*' +env: + GOPROXY: "https://mirrors.aliyun.com/goproxy/,direct" + GITEA_URL: "https://hub.gaomia.site" + +defaults: + run: + shell: bash + jobs: build: - runs-on: local - container: - image: golang:1.26-alpine - env: - GOPROXY: "https://mirrors.aliyun.com/goproxy/,direct" - GITEA_URL: "https://hub.gaomia.site" - GITEA_TOKEN: "${{ secrets.release_token }}" + runs-on: ubuntu-latest steps: - name: Checkout code run: |