We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934ec4e commit cd8c504Copy full SHA for cd8c504
.github/workflows/main.yml
@@ -26,7 +26,7 @@ jobs:
26
27
run: |
28
# cancel early, if not build commit
29
- $strVal ='${{ github.event.commits[0].message }}'
+ $strVal="$Env:COMMIT_MESSAGE"
30
# Convert commit message to a single line if multiline
31
$singleLineStrVal = $strVal -replace "`r`n", " " -replace "`n", " "
32
if($singleLineStrVal -match '#GITBUILD')
@@ -37,6 +37,9 @@ jobs:
37
exit(1)
38
}
39
Install-Module 7Zip4PowerShell -Force -Verbose
40
+ env:
41
+ COMMIT_MESSAGE: "${{ github.event.commits[0].message }}"
42
+
43
- uses: actions/checkout@v2
44
- name: Restore NuGet packages
45
run: nuget restore UnityLauncherPro.sln
0 commit comments