Skip to content

Commit 4653556

Browse files
committed
build: print env
Signed-off-by: Andrew Berezovskyi <[email protected]>
1 parent 67876e7 commit 4653556

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/main.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ on:
1111
release:
1212
types:
1313
- published # Run the workflow when a new GitHub release is published
14-
# workflow_dispatch:
15-
# inputs:
16-
# release:
17-
# description: "Make the release build"
18-
# required: false
19-
# type: boolean
20-
# default: false
21-
# version:
22-
# description: "Version string"
23-
# required: true
24-
# type: string
14+
workflow_dispatch:
15+
inputs:
16+
release:
17+
description: "Make the release build"
18+
required: false
19+
type: boolean
20+
default: false
21+
# version:
22+
# description: "Version string"
23+
# required: true
24+
# type: string
2525

2626
env:
2727
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@@ -111,7 +111,9 @@ jobs:
111111
- name: Pack NuGet packages (release)
112112
shell: pwsh
113113
run: |
114+
Write-Host $env:GITHUB_REF
114115
$env:GITHUB_REF -match '^refs/tags/v(.*)$' | Set-Variable VERSION $matches[1]
116+
Write-Host $VERSION
115117
dotnet pack -c Release -p:RELEASE_VERSION=$VERSION -o ${{ env.NuGetDirectory }}
116118
if: |
117119
success()

0 commit comments

Comments
 (0)