Skip to content

Commit

Permalink
fix(nuget): publish the core package
Browse files Browse the repository at this point in the history
  • Loading branch information
attilaersek committed Apr 16, 2024
1 parent 7b54483 commit bf9b20b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-tag-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
- name: Pack
run: |
dotnet pack src/ScaledDomains.Extensions.Caching.MySql/ScaledDomains.Extensions.Caching.MySql.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}-beta{3}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch, github.run_number) }} --output nuget-packages --configuration Release --no-build --no-restore
dotnet pack src/ScaledDomains.Extensions.Caching.MySql.Core/ScaledDomains.Extensions.Caching.MySql.Core.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}-beta{3}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch, github.run_number) }} --output nuget-packages --configuration Release --no-build --no-restore
dotnet pack src/ScaledDomains.Extensions.Caching.MySql.MySqlConnector/ScaledDomains.Extensions.Caching.MySql.MySqlConnector.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}-beta{3}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch, github.run_number) }} --output nuget-packages --configuration Release --no-build --no-restore
- name: Push
run: dotnet nuget push nuget-packages/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/scaleddomains/index.json --no-symbols
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ jobs:
if: "!github.event.release.prerelease"
run: |
dotnet pack src/ScaledDomains.Extensions.Caching.MySql/ScaledDomains.Extensions.Caching.MySql.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch) }} --output nuget-packages --configuration Release --no-build --no-restore
dotnet pack src/ScaledDomains.Extensions.Caching.MySql.Core/ScaledDomains.Extensions.Caching.MySql.Core.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch) }} --output nuget-packages --configuration Release --no-build --no-restore
dotnet pack src/ScaledDomains.Extensions.Caching.MySql.MySqlConnector/ScaledDomains.Extensions.Caching.MySql.MySqlConnector.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch) }} --output nuget-packages --configuration Release --no-build --no-restore
- name: Pack Prerelease
if: "github.event.release.prerelease"
run: |
dotnet pack src/ScaledDomains.Extensions.Caching.MySql/ScaledDomains.Extensions.Caching.MySql.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}-beta{3}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch, github.run_number) }} --output nuget-packages --configuration Release --no-build --no-restore
dotnet pack src/ScaledDomains.Extensions.Caching.MySql.Core/ScaledDomains.Extensions.Caching.MySql.Core.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}-beta{3}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch, github.run_number) }} --output nuget-packages --configuration Release --no-build --no-restore
dotnet pack src/ScaledDomains.Extensions.Caching.MySql.MySqlConnector/ScaledDomains.Extensions.Caching.MySql.MySqlConnector.csproj -p:PackageVersion=${{ format('{0}.{1}.{2}-beta{3}', steps.version.outputs.major, steps.version.outputs.minor, steps.version.outputs.patch, github.run_number) }} --output nuget-packages --configuration Release --no-build --no-restore
- name: Push
run: dotnet nuget push nuget-packages/*.nupkg --api-key ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<LangVersion>Latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageDescription>ScaledDomains.Extensions.Caching.MySql.MySqlConnector is a free, open source distributed cache implementation using MySql.</PackageDescription>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit bf9b20b

Please sign in to comment.