Skip to content

Commit

Permalink
[SES-42] switch to env:HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilBohleber committed Jul 29, 2024
1 parent d3f4e47 commit 1f5b97b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/craft_setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ if ($IsWindows) {
$python = (Get-Command python3).Source
}

$RepoRoot = "{0}\..\.." -f ([System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition))
$command = @("${env:HOME}\craft\CraftMaster\CraftMaster\CraftMaster.py",
"--config", "${RepoRoot}\craftmaster.ini",
# $RepoRoot = "{0}\..\.." -f ([System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition))
$command = @("${env:HOME}\craft\CraftMaster\CraftMaster.py",
"--config", "${env:HOME}\craftmaster.ini",
# "--config-override", "${RepoRoot}/.github/workflows/craft_override.ini",
"--target", "${env:CRAFT_TARGET}") + $args
# "--variables", "WORKSPACE=${env:HOME}\craft")
Expand Down

0 comments on commit 1f5b97b

Please sign in to comment.