File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 11
11
release :
12
12
types :
13
13
- 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
25
25
26
26
env :
27
27
DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
@@ -111,7 +111,9 @@ jobs:
111
111
- name : Pack NuGet packages (release)
112
112
shell : pwsh
113
113
run : |
114
+ Write-Host $env:GITHUB_REF
114
115
$env:GITHUB_REF -match '^refs/tags/v(.*)$' | Set-Variable VERSION $matches[1]
116
+ Write-Host $VERSION
115
117
dotnet pack -c Release -p:RELEASE_VERSION=$VERSION -o ${{ env.NuGetDirectory }}
116
118
if : |
117
119
success()
You can’t perform that action at this time.
0 commit comments