Skip to content

Commit

Permalink
CI: publish NuGet packages
Browse files Browse the repository at this point in the history
  • Loading branch information
davelim committed Oct 31, 2024
1 parent 50bf8f1 commit 219edb1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ jobs:
- name: Build with dotnet core
run: dotnet build --configuration Release
- name: Tests
run: dotnet test DotNetDBF.Test/DotNetDBF.Test.csproj --configuration Release --no-build --no-restore
run: dotnet test DotNetDBF.Test/DotNetDBF.Test.cspr"oj --configuration Release --no-build --no-restore
- name: Publish
run: dotnet nuget push publish/* --source https://nuget.pkg.github.com/ekonbenefits/index.json --api-key ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: matrix.os == 'windows-latest'
2 changes: 1 addition & 1 deletion .github/workflows/dotnet48.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: microsoft/setup-msbuild@v2
with:
dotnet-version: 4.7.2

- name: Restore
run: dotnet restore -p:TargetFramework=net472
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion DotNetDBF.Enumerable/DotNetDBF.Enumerable.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageTags>clipper xbase dbf linq</PackageTags>
<PackageLicenseExpression>LGPL-2.1-or-later</PackageLicenseExpression>
<PackageIconUrl>https://github.com/ekonbenefits/dotnetdbf</PackageIconUrl>
<RepositoryUrl>https://github.com/ekonbenefits/dotnetdbf.git</RepositoryUrl>
<RepositoryUrl>https://github.com/ekonbenefits/dotnetdbf</RepositoryUrl>
<RepositoryType>gits</RepositoryType>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
Expand Down
2 changes: 1 addition & 1 deletion DotNetDBF/DotNetDBF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Authors>Anil Kumar, Jay Tuley</Authors>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<RepositoryUrl>https://github.com/ekonbenefits/dotnetdbf.git</RepositoryUrl>
<RepositoryUrl>https://github.com/ekonbenefits/dotnetdbf</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>True</IncludeSymbols>
<IncludeSource>True</IncludeSource>
Expand Down

0 comments on commit 219edb1

Please sign in to comment.