Skip to content

Commit

Permalink
Publish to GitHub packages (#6)
Browse files Browse the repository at this point in the history
* Publish to GitHub Packages

* Bump the version number
  • Loading branch information
f1x3d authored Jul 16, 2023
1 parent eabcde4 commit e2c7c80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,9 @@ jobs:
run: dotnet nuget push **/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

- name: Publish to GitHub Packages
run: dotnet nuget push **/*.nupkg -k $GITHUB_TOKEN -s $FEED_SOURCE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FEED_SOURCE: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
2 changes: 1 addition & 1 deletion Pbac.AspNetCore/Pbac.AspNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Description>A helper library for implementing the permission/attribute based access control (ABAC) with JSON web tokens using the ASP.NET Core's policy-based access control (PBAC).</Description>
<PackageTags>pbac abac permissions access aspnet authorization auth jwt</PackageTags>

<Version>1.0.0</Version>
<Version>1.0.1</Version>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
<EnablePackageValidation Condition="'$(Version)' != '$(PackageValidationBaselineVersion)'">true</EnablePackageValidation>

Expand Down

0 comments on commit e2c7c80

Please sign in to comment.