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 5ea0f1e commit 8b98c80Copy full SHA for 8b98c80
.github/workflows/ci.yml
@@ -17,9 +17,6 @@
17
"shell": "pwsh"
18
}
19
},
20
- "env": {
21
- "VERSION_SUFFIX": "alpha-${{ github.run_number }}"
22
- },
23
"jobs": {
24
"build": {
25
"strategy": {
@@ -55,6 +52,11 @@
55
52
"name": "Restore NuGet packages",
56
53
"run": "dotnet restore --locked-mode"
57
54
+ {
+ "name": "Set version suffix",
+ "if": "github.event_name != 'release' || github.event.action != 'created'",
58
+ "run": "'VERSION_SUFFIX=alpha-${{ github.run_number }} >> $env:GITHUB_ENV"
59
+ },
60
{
61
"name": "Build",
62
"run": "dotnet build EngageSoftware.Dnn.Logging.sln --no-restore --configuration ${{ matrix.configuration }} -p:VersionSuffix=${{ env.VERSION_SUFFIX }}"
0 commit comments