Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 9730432

Browse files
committed
Merge branch 'tweak-build-script' into build-fixes
2 parents 6f75bd0 + 36d5d00 commit 9730432

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

appveyor.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,22 @@ clone_script:
1515
}
1616
1717
Set-Location $env:appveyor_build_folder
18+
1819
install:
1920
- ps: >-
20-
$full_build = Test-Path env:GHFU_KEY
21-
2221
git submodule sync
2322
2423
git submodule init
2524
25+
$full_build = $env:appveyor_repo_name -eq "github-for-unity/Unity"
26+
2627
if ($full_build) {
27-
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
28-
$fileContent += $env:GHFU_KEY.Replace(' ', "`n")
29-
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
30-
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
28+
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
29+
$fileContent += $env:GHFU_KEY.Replace(' ', "`n")
30+
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
31+
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
3132
} else {
32-
33+
git submodule deinit script
3334
}
3435
3536
git submodule update

0 commit comments

Comments
 (0)