fix 插件抽离出来 #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'Directory.Build.props' | |
jobs: | |
deploy-nuget: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: dotnet build --configuration Release | |
- name: Pack | |
run: dotnet pack --no-build --configuration Release | |
- name: Push NuGet package | |
run: | | |
dotnet nuget push **/*.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ vars.XUZEYU }} |