We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a501ce + 24e3aa2 commit 64b7d40Copy full SHA for 64b7d40
1 file changed
.github/workflows/release.yaml
@@ -4,7 +4,7 @@ on:
4
types: [published]
5
6
jobs:
7
- build:
+ publish:
8
runs-on: ubuntu-latest
9
steps:
10
- name: Git checkout
@@ -17,10 +17,11 @@ jobs:
17
18
- name: .NET build
19
run: |
20
- echo Version is ${{env.VERSION:1}}
21
- dotnet msbuild -t:restore,build,pack -p:Configuration=Release -p:Version=${{env.VERSION:1}} FINT.Information.Model.sln
+ VERSION=${TAG_NAME:1}
+ echo Version is $VERSION
22
+ dotnet msbuild -t:restore,build,pack -p:Configuration=Release -p:Version=$VERSION -p:PackageVersion=$VERSION FINT.Model.Resource.sln
23
env:
- VERSION: ${{github.event.release.tag_name}}
24
+ TAG_NAME: ${{github.event.release.tag_name}}
25
26
- name: Publish new release to NuGet
27
0 commit comments