Skip to content

Commit 7d23b68

Browse files
committed
Update the tests
1 parent 2052858 commit 7d23b68

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/Setup.Tests.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ Describe "Setup" {
1111
[SuppressMessage("PSUseDeclaredVarsMoreThanAssignments", "")]
1212
$latestRelease = [Release]::Latest()
1313

14-
$Env:GITHUB_ENV = "var/GitHub-Env.txt"
15-
$Env:GITHUB_PATH = "var/GitHub-Path.txt"
14+
if ($Env:CI -ne "true") {
15+
$Env:GITHUB_ENV = "var/GitHub-Env.txt"
16+
$Env:GITHUB_PATH = "var/GitHub-Path.txt"
17+
}
1618
}
1719

1820
Describe "Download()" {

0 commit comments

Comments
 (0)