Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSciMeow authored May 25, 2021
1 parent 5e3f35e commit 4e64d63
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,19 @@ jobs:
#任务2:测试
- name: Test
run: dotnet test --no-build --verbosity normal
#任务3:发布nuget
#任务3:发布nuget
- name: Publish
uses: brandedoutcast/publish-nuget@v2.5.2
with:
PROJECT_FILE_PATH: MeowIOTBot.csproj #确定发布项目名
NUGET_KEY: ${{secrets.NUGET_API_KEY}} #使用专用key
#任务4:创建github release
- name: Create GitHub release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.ACC_TOKEN }}"
automatic_release_tag: ${{ env.ReleaseVersion }}
title: ${{ env.ReleaseVersion }}
prerelease: false
files: |
artifacts/packages/*

0 comments on commit 4e64d63

Please sign in to comment.