From 529e5d4155544a277c695522b0c33c76667a2323 Mon Sep 17 00:00:00 2001 From: xiaohei Date: Wed, 22 Apr 2026 14:11:15 +0800 Subject: [PATCH] ci: use local action mirrors instead of github.com - Mirror actions/checkout, actions/cache, actions/setup-java, actions/upload-artifact, actions/flutter-action to local Gitea - Replace subosito/flutter-action with actions/flutter-action - Runner can now resolve all actions locally without internet --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/ios-only.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03fd2c6..d3bdc90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Install jq run: apt-get update && apt-get install -y jq - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Get dependencies @@ -32,7 +32,7 @@ jobs: - name: Install jq run: apt-get update && apt-get install -y jq - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Setup Java @@ -58,7 +58,7 @@ jobs: - name: Install jq run: apt-get update && apt-get install -y jq - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Install Linux deps @@ -83,7 +83,7 @@ jobs: - name: Install jq run: brew install jq - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Install macOS deps @@ -111,7 +111,7 @@ jobs: - name: Install jq run: brew install jq - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Get dependencies @@ -140,7 +140,7 @@ jobs: - name: Install jq run: choco install jq -y - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Get dependencies diff --git a/.github/workflows/ios-only.yml b/.github/workflows/ios-only.yml index 94c70d3..f067464 100644 --- a/.github/workflows/ios-only.yml +++ b/.github/workflows/ios-only.yml @@ -13,7 +13,7 @@ jobs: - name: Install jq run: brew install jq - name: Setup Flutter - uses: subosito/flutter-action@v2 + uses: actions/flutter-action@v2 with: flutter-version: '3.35.7' - name: Get dependencies