删除不需要的文件
This commit is contained in:
40
.github/workflows/nuget-master-publish.yml
vendored
40
.github/workflows/nuget-master-publish.yml
vendored
@@ -1,40 +0,0 @@
|
||||
# 去掉注释可以合并 master 分支自动打包
|
||||
# 为什么不期望推送 master 自动打包?原因是打出来的 CBB 没有 Tag 不利于回滚找到代码
|
||||
|
||||
# name: publish nuget
|
||||
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
|
||||
# jobs:
|
||||
# build:
|
||||
|
||||
# runs-on: windows-latest
|
||||
|
||||
# steps:
|
||||
# - uses: actions/checkout@v1
|
||||
|
||||
# - name: Setup .NET Core
|
||||
# uses: actions/setup-dotnet@v1
|
||||
# with:
|
||||
# dotnet-version: 3.1.300
|
||||
|
||||
# - name: Build with dotnet
|
||||
# run: |
|
||||
# dotnet build --configuration Release
|
||||
# dotnet pack --configuration Release --no-build
|
||||
|
||||
# - name: Install Nuget
|
||||
# uses: nuget/setup-nuget@v1
|
||||
# with:
|
||||
# nuget-version: '5.x'
|
||||
|
||||
# - name: Add private GitHub registry to NuGet
|
||||
# run: |
|
||||
# nuget sources add -name github -Source https://nuget.pkg.github.com/dotnet-campus/index.json -Username dotnet-campus -Password ${{ secrets.GITHUB_TOKEN }}
|
||||
# - name: Push generated package to GitHub registry
|
||||
# run: |
|
||||
# nuget push .\bin\Release\*.nupkg -Source github -SkipDuplicate
|
||||
# nuget push .\bin\Release\*.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -ApiKey ${{ secrets.NugetKey }}
|
||||
Reference in New Issue
Block a user