Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ updates:
- "*"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
update-types: [ "version-update:semver-major" ]
- package-ecosystem: github-actions
directory: /
schedule:
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ name: Build
on:
push:
branches:
- main
- main
pull_request:

jobs:

build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
DOTNET_NOLOGO: true

steps:
- name: Check out our repo
uses: actions/checkout@v6
with:
submodules: true
- name: Check out our repo
uses: actions/checkout@v6
with:
submodules: true

# Build with .NET 10.0 SDK
# Test with .NET 8.0 and 10.0
- name: Setup .NET 8.0 and 10.0
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: |
8.0.x
10.0.x
# Build with .NET 10.0 SDK
# Test with .NET 8.0 and 10.0
- name: Setup .NET 8.0 and 10.0
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: |
8.0.x
10.0.x

- name: Build
run: |
dotnet build
dotnet test
# Pack production packages to validate compatibility
dotnet pack -p:ContinuousIntegrationBuild=true
- name: Build
run: |
dotnet build
dotnet test
# Pack production packages to validate compatibility
dotnet pack -p:ContinuousIntegrationBuild=true
46 changes: 23 additions & 23 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@ name: Push packages to NuGet

on:
release:
types: [published]
types: [ published ]

jobs:

release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
DOTNET_NOLOGO: true

steps:
- name: Check out our repo
uses: actions/checkout@v6
with:
submodules: true
- name: Check out our repo
uses: actions/checkout@v6
with:
submodules: true

# Build with .NET 10.0 SDK
# Test with .NET 8.0 and 10.0
- name: Setup .NET 8.0 and 10.0
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: |
8.0.x
10.0.x
# Build with .NET 10.0 SDK
# Test with .NET 8.0 and 10.0
- name: Setup .NET 8.0 and 10.0
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: |
8.0.x
10.0.x

- name: Build
run: |
dotnet build -c Release -p:ContinuousIntegrationBuild=true
dotnet test -c Release
mkdir nuget
- name: Build
run: |
dotnet build -c Release -p:ContinuousIntegrationBuild=true
dotnet test -c Release
mkdir nuget

- name: Push to NuGet
run: |
dotnet pack -c Release -p:ContinuousIntegrationBuild=true -o $PWD/nuget
for file in nuget/*.nupkg; do dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} $file; done
- name: Push to NuGet
run: |
dotnet pack -c Release -p:ContinuousIntegrationBuild=true -o $PWD/nuget
for file in nuget/*.nupkg; do dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} $file; done