Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: 3.1.101
dotnet-version: 8.0.x
- name: Create NuGet Package
run: dotnet pack ./kx.csproj -c Release /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See https://github.com/KxSystems/csharpkdb/releases/tag/${{ github.event.release.tag_name }}"
working-directory: ./kx
- name: Archive NuGet Package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v6
with:
name: KxSystems.csharpkdb
path: ./kx/bin/Release/CSharpKDB.${{ github.event.release.tag_name }}.nupkg
- name: Archive NuGet Package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v6
with:
name: KxSystems.csharpkdb
path: ./kx/bin/Release/CSharpKDB.${{ github.event.release.tag_name }}.nupkg
- name: Publish Nuget Package
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json --no-symbols true
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json --no-symbols
Loading