Skip to content

Commit f90d300

Browse files
authored
Merge pull request #5 from bbtbir/feature/GeneratePackages
generate packages
2 parents 02bba43 + 0c50045 commit f90d300

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/main.yml

-9
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ on:
1010
- "feature/**"
1111
- "release/**"
1212
- "hotfix/**"
13-
tags:
14-
- "*"
15-
pull_request:
1613

1714
defaults:
1815
run:
@@ -58,12 +55,6 @@ jobs:
5855
with:
5956
token: ${{ secrets.CODECOVACCESSTOKEN }} # not required for public repos
6057

61-
- name: Setup NuGet
62-
uses: NuGet/setup-nuget@v1
63-
64-
- name: Publish NuGet
65-
if: startsWith(github.ref, 'refs/heads/Release')
66-
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORGAPI}}
6758

6859
# - name: Code Coverage Report
6960
# uses: irongut/[email protected]

src/TestGithubPipeline.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework>net6.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
89
</PropertyGroup>
910

10-
</Project>
11+
</Project>

0 commit comments

Comments
 (0)