File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 76
76
git log --pretty=format:'%d %s' ${GITHUB_REF} | perl -pe 's| \(.*tag: v(\d+.\d+.\d+(-preview\d{3})?)(, .*?)*\)|\n## \1\n|g' > RELEASE-NOTES
77
77
- name : Set VERSION variable from tag
78
78
run : echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
79
+ - name : Build
80
+ run : dotnet build /warnaserror --configuration Release /p:Version=${VERSION}
79
81
- name : Pack
80
- run : dotnet pack --configuration Release /p:Version=${VERSION} --output .
82
+ run : dotnet pack --configuration Release /p:Version=${VERSION} --no-build -- output .
81
83
- name : Push nuget to nuget.org
82
84
run : dotnet nuget push RxTelegram.Bot.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
83
85
- name : Publish release
You can’t perform that action at this time.
0 commit comments