Skip to content

Commit 68eacec

Browse files
committed
Ci: Skip python2 in github actions
1 parent f59ef3b commit 68eacec

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/.craft.ps1

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ if ($IsWindows) {
33
} else {
44
$python = (Get-Command python3).Source
55
}
6-
$command = @("${env:HOME}/craft/CraftMaster/CraftMaster/CraftMaster.py", "--config", "${env:GITHUB_WORKSPACE}/.craft.ini", "--target", "${env:CRAFT_TARGET}", "--variables", "WORKSPACE=${env:HOME}/craft") + $args
6+
$command = @("${env:HOME}/craft/CraftMaster/CraftMaster/CraftMaster.py",
7+
"--config", "${env:GITHUB_WORKSPACE}/.craft.ini",
8+
"--config-override", "${env:GITHUB_WORKSPACE}/.github/workflows/craft_override.ini",
9+
"--target", "${env:CRAFT_TARGET}",
10+
"--variables", "WORKSPACE=${env:HOME}/craft") + $args
711

812
Write-Host "Exec: ${python} ${command}"
913

.github/workflows/craft_override.ini

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[BlueprintSettings]
2+
# no longer preinstalled on the github images and only required to build dev-utils/breakpad-tools
3+
dev-utils/python2.ignored = True
4+
dev-utils/breakpad-tools.ignored = True

0 commit comments

Comments
 (0)