Skip to content

Commit f2904b0

Browse files
authored
Add CI / build for net 8 (#369)
- Update CI to node 20 - Update ReadME for net 8 - Update CI build for net 8 Signed-off-by: Gabriele Santomaggio <[email protected]>
1 parent 317f332 commit f2904b0

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.github/workflows/build-test.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,23 @@ jobs:
99
runs-on: windows-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: actions/setup-dotnet@v3
12+
- uses: actions/setup-dotnet@v4
1313
with:
1414
dotnet-version: |
1515
6.x
1616
7.x
17-
- uses: actions/cache@v3
17+
8.x
18+
- uses: actions/cache@v4
1819
with:
1920
# Note: the cache path is relative to the workspace directory
2021
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#using-the-cache-action
2122
path: ~/installers
2223
key: ${{ runner.os }}-v1-${{ hashFiles('.ci/versions.json') }}
23-
- uses: actions/cache@v3
24+
- uses: actions/cache@v4
2425
with:
2526
path: |
2627
~/.nuget/packages
27-
~/AppData/Local/NuGet/v3-cache
28+
~/AppData/Local/NuGet/v4-cache
2829
key: ${{ runner.os }}-v2-nuget-${{ hashFiles('**/*.csproj') }}
2930
restore-keys: |
3031
${{ runner.os }}-v2-nuget-
@@ -54,16 +55,16 @@ jobs:
5455
- 61613:61613
5556
steps:
5657
- uses: actions/checkout@v4
57-
- uses: actions/setup-dotnet@v3
58+
- uses: actions/setup-dotnet@v4
5859
with:
5960
dotnet-version: |
6061
6.x
6162
7.x
62-
- uses: actions/cache@v3
63+
- uses: actions/cache@v4
6364
with:
6465
path: |
6566
~/.nuget/packages
66-
~/.local/share/NuGet/v3-cache
67+
~/.local/share/NuGet/v4-cache
6768
key: ${{ runner.os }}-v2-nuget-${{ hashFiles('**/*.csproj') }}
6869
restore-keys: |
6970
${{ runner.os }}-v2-nuget-

.github/workflows/publish-nuget.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: actions/setup-dotnet@v3
14+
- uses: actions/setup-dotnet@v4
1515
with:
1616
dotnet-version: |
1717
6.x
1818
7.x
19-
- uses: actions/cache@v3
19+
8.x
20+
- uses: actions/cache@v4
2021
with:
2122
path: |
2223
~/.nuget/packages
23-
~/.local/share/NuGet/v3-cache
24+
~/.local/share/NuGet/v4-cache
2425
key: ${{ runner.os }}-v2-nuget-${{ hashFiles('**/*.csproj') }}
2526
restore-keys: |
2627
${{ runner.os }}-v2-nuget-

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Please refer to the [documentation](https://rabbitmq.github.io/rabbitmq-stream-d
2727

2828
### Pre-requisites
2929

30-
The library requires .NET 6 or .NET 7.
30+
The library requires .NET 6, .NET 7 or .NET 8.
3131

3232
### Documentation
3333
- [HTML documentation](https://rabbitmq.github.io/rabbitmq-stream-dotnet-client/stable/htmlsingle/index.html)
@@ -75,7 +75,7 @@ make publish-github-pages
7575
* Ensure builds are green: [link](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/actions)
7676
* Tag the `main` branch using your GPG key:
7777
```
78-
git tag -a -s -u GPG_KEY_ID -m 'rabbitmq-stream-dotnet-client v1.0.0' 'v1.0.0' && git push && git push --tags
78+
git tag -a -s -u GPG_KEY_ID -m 'rabbitmq-stream-dotnet-client v1.8.3' 'v1.8.3' && git push && git push --tags
7979
```
8080
* Ensure the build for the tag passes: [link](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/actions)
8181
* Create the new release on GitHub, which triggers a build and publish to NuGet: [link](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/releases)

0 commit comments

Comments
 (0)