Skip to content

Commit 4125c4c

Browse files
committed
[poc_windows_arm_64_compile] Fix maybe ?
1 parent 77c4eb9 commit 4125c4c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/poc-agent-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ jobs:
130130
- name: Config Git for HTTPS
131131
shell: pwsh
132132
run: |
133-
git config --global --unset url.ssh://[email protected] -ErrorAction SilentlyContinue
133+
$configValue = git config --global --get url.ssh://[email protected]
134+
if ($null -ne $configValue) {
135+
git config --global --unset url.ssh://[email protected]
136+
} else {
137+
Write-Host "Configuration not set, no need to unset."
138+
}
134139
135140
- name: Run Cargo Audit
136141
run: cargo audit

0 commit comments

Comments
 (0)