Skip to content

Commit eb37d3c

Browse files
committed
Update CI
1 parent f4fa322 commit eb37d3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ jobs:
7676
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
7777
- name: Set VERSION variable from tag
7878
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
79+
- name: Build
80+
run: dotnet build /warnaserror --configuration Release /p:Version=${VERSION}
7981
- name: Pack
80-
run: dotnet pack --configuration Release /p:Version=${VERSION} --output .
82+
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
8183
- name: Push nuget to nuget.org
8284
run: dotnet nuget push RxTelegram.Bot.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
8385
- name: Publish release

0 commit comments

Comments
 (0)