File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 29
29
sonarqube :
30
30
name : sonarqube
31
31
runs-on : windows-latest
32
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
32
+ needs : test
33
33
steps :
34
34
- name : Set up JDK 17
35
35
uses : actions/setup-java@v4
Original file line number Diff line number Diff line change @@ -67,14 +67,13 @@ jobs:
67
67
runs-on : ubuntu-latest
68
68
needs : sonarqube
69
69
steps :
70
- - name : Download build result
71
- uses : actions/download-artifact@v4
72
- with :
73
- name : build
70
+ - name : Extract release notes
71
+ run : |
72
+ 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
74
73
- name : Set VERSION variable from tag
75
74
run : echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
76
75
- name : Pack
77
- run : dotnet pack --configuration Release /p:Version=${VERSION} --no-build -- output .
76
+ run : dotnet pack --configuration Release /p:Version=${VERSION} --output .
78
77
- name : Push nuget to nuget.org
79
78
run : dotnet nuget push RxTelegram.Bot.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
80
79
- name : Publish release
You can’t perform that action at this time.
0 commit comments