diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 1ded4492..d05df426 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -9,22 +9,23 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: | 6.x 7.x - - uses: actions/cache@v3 + 8.x + - uses: actions/cache@v4 with: # Note: the cache path is relative to the workspace directory # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#using-the-cache-action path: ~/installers key: ${{ runner.os }}-v1-${{ hashFiles('.ci/versions.json') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.nuget/packages - ~/AppData/Local/NuGet/v3-cache + ~/AppData/Local/NuGet/v4-cache key: ${{ runner.os }}-v2-nuget-${{ hashFiles('**/*.csproj') }} restore-keys: | ${{ runner.os }}-v2-nuget- @@ -54,16 +55,16 @@ jobs: - 61613:61613 steps: - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: | 6.x 7.x - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.nuget/packages - ~/.local/share/NuGet/v3-cache + ~/.local/share/NuGet/v4-cache key: ${{ runner.os }}-v2-nuget-${{ hashFiles('**/*.csproj') }} restore-keys: | ${{ runner.os }}-v2-nuget- diff --git a/.github/workflows/publish-nuget.yaml b/.github/workflows/publish-nuget.yaml index 9573c3ef..f05dcbe8 100644 --- a/.github/workflows/publish-nuget.yaml +++ b/.github/workflows/publish-nuget.yaml @@ -11,16 +11,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: | 6.x 7.x - - uses: actions/cache@v3 + 8.x + - uses: actions/cache@v4 with: path: | ~/.nuget/packages - ~/.local/share/NuGet/v3-cache + ~/.local/share/NuGet/v4-cache key: ${{ runner.os }}-v2-nuget-${{ hashFiles('**/*.csproj') }} restore-keys: | ${{ runner.os }}-v2-nuget- diff --git a/README.md b/README.md index 462d1e58..d4c0f575 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Please refer to the [documentation](https://rabbitmq.github.io/rabbitmq-stream-d ### Pre-requisites -The library requires .NET 6 or .NET 7. +The library requires .NET 6, .NET 7 or .NET 8. ### Documentation - [HTML documentation](https://rabbitmq.github.io/rabbitmq-stream-dotnet-client/stable/htmlsingle/index.html) @@ -75,7 +75,7 @@ make publish-github-pages * Ensure builds are green: [link](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/actions) * Tag the `main` branch using your GPG key: ``` - git tag -a -s -u GPG_KEY_ID -m 'rabbitmq-stream-dotnet-client v1.0.0' 'v1.0.0' && git push && git push --tags + git tag -a -s -u GPG_KEY_ID -m 'rabbitmq-stream-dotnet-client v1.8.3' 'v1.8.3' && git push && git push --tags ``` * Ensure the build for the tag passes: [link](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/actions) * Create the new release on GitHub, which triggers a build and publish to NuGet: [link](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/releases)