Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
TeraNovaLP committed Nov 12, 2024
1 parent 9aa93b4 commit 1c2a9a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Build
dotnet-version: '8.0.x'
- name: Pack
run: |
dotnet publish -c Release
dotnet pack OAuth2Authenticator\OAuth2Authenticator.csproj -c Release --nologo
- name: Push
run: |
dotnet nuget push "OAuth2Authenticator/bin/Release/OAuth2Authenticator.*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
1 change: 0 additions & 1 deletion OAuth2Authenticator/OAuth2Authenticator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>OAuth2 Client OAuth2-Client ASP.NET-Core SPA Token Management Token-Management</PackageTags>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand Down

0 comments on commit 1c2a9a6

Please sign in to comment.