diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3693563..f688112 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file + run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json --no-symbols