fix(ci): replace actions/checkout with manual git clone in release
actions/checkout uses GITHUB_SERVER_URL=http://localhost:3002 which is unreachable from inside the Docker container. Use the public Forgejo URL directly, matching the pattern used by package.yml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0ee60d179c
commit
04927b773b
1 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,10 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: [self-hosted, hestia]
|
runs-on: [self-hosted, hestia]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: checkout
|
||||||
|
run: |
|
||||||
|
git clone --branch "${GITHUB_REF_NAME}" --depth 1 \
|
||||||
|
"https://git.breadway.dev/${GITHUB_REPOSITORY}.git" .
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cargo build --release --locked
|
run: cargo build --release --locked
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue