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.
This commit is contained in:
parent
4bb2fd43ca
commit
ca843bf255
1 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,10 @@ jobs:
|
|||
build:
|
||||
runs-on: [self-hosted, hestia]
|
||||
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
|
||||
run: cargo build --release --locked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue