Skip to content

Commit

Permalink
ci: remove old dotnet versions
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Jul 14, 2024
1 parent 55df0b5 commit 2413de8
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
- name: Run tests
run: dotnet test -c Release --filter FullyQualifiedName\!~Tests.Integration -p:CollectCoverage=false

build-linux:
name: Build, Test & Pack (Linux)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -45,10 +35,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
- name: Build
Expand Down Expand Up @@ -98,7 +85,7 @@ jobs:
with:
name: nupkgs
- name: Push to pkg.github.com
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/prom-client-net/index.json -k ${{ secrets.GH_FULL_PAT }}
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }}

nuget:
name: Deploy to NuGet
Expand Down

0 comments on commit 2413de8

Please sign in to comment.