ci: map internal gitea hostname to external ip before checkout
CI / Export Windows (push) Has been cancelled
CI / Export Linux (push) Has been cancelled
CI / Export Android (push) Has been cancelled
CI / Create Release (push) Has been cancelled
CI / Run Tests (push) Has been cancelled
Test Suite / Unit Tests (GUT) (push) Has been cancelled
Test Suite / Integration Tests (push) Has been cancelled
Test Suite / Code Style Check (push) Has been cancelled
Test Suite / Security Scan (push) Has been cancelled

This commit is contained in:
2026-07-02 16:01:13 +08:00
parent 64630662ac
commit 858bf08212
4 changed files with 60 additions and 0 deletions
+15
View File
@@ -24,6 +24,11 @@ jobs:
timeout-minutes: 45
if: github.event.inputs.platform == 'windows' || github.event.inputs.platform == 'all'
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName git.klud.top\n Port 22\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -60,6 +65,11 @@ jobs:
timeout-minutes: 45
if: github.event.inputs.platform == 'linux' || github.event.inputs.platform == 'all'
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName git.klud.top\n Port 22\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -96,6 +106,11 @@ jobs:
timeout-minutes: 60
if: github.event.inputs.platform == 'android' || github.event.inputs.platform == 'all'
steps:
- name: Setup SSH config for Gitea
run: |
mkdir -p ~/.ssh
echo -e "Host gitea\n HostName git.klud.top\n Port 22\n StrictHostKeyChecking no" > ~/.ssh/config
- name: Checkout repository
uses: actions/checkout@v4
with: