We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6488a6 commit 5a91ec3Copy full SHA for 5a91ec3
polygon.ps1
@@ -1,14 +1,14 @@
1
$cwd = (Get-Location).Path;
2
3
# Declare variable to check if running on GitHub action
4
-$isGitHubAction = if ($env:GITHUB_ACTIONS -eq "true") {
+$isGitHubActions = if ($env:GITHUB_ACTIONS -eq "true") {
5
$true;
6
} else {
7
$false;
8
}
9
10
# Assign tag based on environment
11
-$latestTag = if ($isGitHubAction) {
+$latestTag = if ($isGitHubActions) {
12
$env:GITHUB_REF;
13
14
(git describe --tags --abbrev=0);
0 commit comments