chore: demo supports for automatic updating.

This commit is contained in:
NaBian committed 2024-06-02 22:39:36 +08:00
1 parent cfeef2d01a
commit 3d7595692c
8 files changed
+250 -81

No files matched your search

+10 -1
View File
@@ -42,4 +42,13 @@ jobs:
tags: true
- name: Push to nuget
run: dotnet nuget push ./build/outputs/nuget/*nupkg -k ${{ secrets.NUGETTOKEN }}
run: dotnet nuget push ./build/outputs/nuget/HandyControl.*nupkg -k ${{ secrets.NUGETTOKEN }}
- name: Create github release
uses: softprops/action-gh-release@v2
with:
# For maximum compatibility, we choose the .net40
files: ./build/outputs/installer/net40/*
body_path: ./build/outputs/CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: ${{ inputs.pre_release }}