fix(ci): build-nsInnoUnp uses host-side clone (SSH alias is host-only)
repo-url is ssh://gitea-ci/... — an SSH alias defined only in the host ~/.ssh/config. With the new in-guest-clone default the guest tried to resolve `gitea-ci` and failed (name resolution). Set use-git-clone:'false' so the host (which has the alias + SSH key) performs the clone. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,11 @@ jobs:
|
|||||||
artifact-source: 'dist'
|
artifact-source: 'dist'
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
guest-os: ${{ matrix.target == 'linux' && 'Linux' || 'Windows' }}
|
guest-os: ${{ matrix.target == 'linux' && 'Linux' || 'Windows' }}
|
||||||
# SSH URL alias configured in host ~/.ssh/config — same for both runners
|
# repo-url uses the host SSH alias `gitea-ci` (~/.ssh/config),
|
||||||
|
# which exists only on the host — so the clone MUST run on the
|
||||||
|
# host, not in the guest. use-git-clone:'false' selects the
|
||||||
|
# host-side clone + zip transfer transport.
|
||||||
|
use-git-clone: 'false'
|
||||||
repo-url: 'ssh://gitea-ci/Simone/nsis-plugin-nsinnounp.git'
|
repo-url: 'ssh://gitea-ci/Simone/nsis-plugin-nsinnounp.git'
|
||||||
# Suffix disambiguates artifact dirs: F:\CI\Artifacts\{run_id}-{attempt}-windows
|
# Suffix disambiguates artifact dirs: F:\CI\Artifacts\{run_id}-{attempt}-windows
|
||||||
job-id-suffix: '${{ matrix.target }}'
|
job-id-suffix: '${{ matrix.target }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user