Skip to content

Commit 5a91ec3

Browse files
author
Soham Dasgupta
committed
build: update build env var name
1 parent f6488a6 commit 5a91ec3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polygon.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
$cwd = (Get-Location).Path;
22

33
# Declare variable to check if running on GitHub action
4-
$isGitHubAction = if ($env:GITHUB_ACTIONS -eq "true") {
4+
$isGitHubActions = if ($env:GITHUB_ACTIONS -eq "true") {
55
$true;
66
} else {
77
$false;
88
}
99

1010
# Assign tag based on environment
11-
$latestTag = if ($isGitHubAction) {
11+
$latestTag = if ($isGitHubActions) {
1212
$env:GITHUB_REF;
1313
} else {
1414
(git describe --tags --abbrev=0);

0 commit comments

Comments
 (0)