Skip to content

Commit fbc6f73

Browse files
authored
ci: remove old dotnet versions (#126)
1 parent 2d8fe77 commit fbc6f73

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,12 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v4
2121

22-
- name: Setup .NET
23-
uses: actions/setup-dotnet@v4
24-
with:
25-
dotnet-version: |
26-
3.1.x
27-
5.0.x
28-
6.0.x
29-
7.0.x
30-
8.0.x
31-
3222
- name: Run tests
3323
run: dotnet test -c Release --filter FullyQualifiedName\!~Tests.Integration -p:CollectCoverage=false
3424

3525
build-linux:
3626
name: Build, Test & Pack (Linux)
37-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04
3828
steps:
3929
- name: Checkout
4030
uses: actions/checkout@v4
@@ -45,10 +35,7 @@ jobs:
4535
uses: actions/setup-dotnet@v4
4636
with:
4737
dotnet-version: |
48-
3.1.x
49-
5.0.x
5038
6.0.x
51-
7.0.x
5239
8.0.x
5340
5441
- name: Build
@@ -98,7 +85,7 @@ jobs:
9885
with:
9986
name: nupkgs
10087
- name: Push to pkg.github.com
101-
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/prom-client-net/index.json -k ${{ secrets.GH_FULL_PAT }}
88+
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }}
10289

10390
nuget:
10491
name: Deploy to NuGet

0 commit comments

Comments
 (0)