Skip to content

Commit 59b19c8

Browse files
author
GitHub Actions YAML generator [bot]
committed
ci: regenerate workflows
1 parent d1afdca commit 59b19c8

File tree

2 files changed

+8
-55
lines changed

2 files changed

+8
-55
lines changed

.github/workflows/pack-nuget.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +0,0 @@
1-
name: Pack NuGet packages
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- "src/**"
9-
- "Package.props"
10-
- ".github/real-workflows/pack-nuget.yml"
11-
workflow_dispatch:
12-
13-
permissions:
14-
contents: read
15-
16-
jobs:
17-
pack:
18-
name: "Pack NuGet packages"
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Checkout
22-
uses: actions/checkout@v4
23-
24-
- name: Setup .NET 9 and 10
25-
uses: actions/setup-dotnet@v4
26-
with:
27-
dotnet-version: |
28-
9
29-
10
30-
31-
- name: Upload NuGet package artifact
32-
uses: actions/upload-artifact@v4
33-
with:
34-
name: "nuget-packages"
35-
path: |
36-
./artifacts/nuget/*.nupkg
37-
if-no-files-found: error
38-
retention-days: 7
39-
40-
- name: Pack solution
41-
shell: pwsh
42-
run: |
43-
dotnet pack `
44-
--configuration "Release" `
45-
-o "./artifacts/nuget" `
46-
./ModelContextProtocol.NET.sln
47-

.github/workflows/publish-calculator-demo-aot.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
- name: Setup .NET
2525
uses: actions/setup-dotnet@v4
2626
with:
27-
dotnet-version: "9"
27+
dotnet-version: 10
2828
- name: Build ${{ matrix.name }}
29-
run: dotnet publish
29+
run: dotnet publish -p:TargetFramework=net10.0
3030
- name: Upload ${{ matrix.name }} Artifact
3131
uses: actions/upload-artifact@v4
3232
with:
33-
path: build/publish/ModelContextProtocol.NET.Demo.Calculator/release/ModelContextProtocol.NET.Demo.Calculator*
33+
path: build/publish/ModelContextProtocol.NET.Demo.Calculator/release_net10.0/ModelContextProtocol.NET.Demo.Calculator*
3434
name: ${{ matrix.name }}-build
3535
compression-level: 0
3636
# build-docker-arm64:
@@ -40,11 +40,11 @@ jobs:
4040
# - target: linux-musl-arm64
4141
# name: linux-musl-arm64
4242
# platform: linux/arm64
43-
# tag: 9.0-alpine-aot-arm64v8
43+
# tag: 10.0-preview-alpine-aot-arm64v8
4444
# - target: linux-arm64
4545
# name: linux-arm64
4646
# platform: linux/arm64
47-
# tag: 9.0-noble-aot-arm64v8
47+
# tag: 10.0-preview-noble-aot-arm64v8
4848
# <<: *no-fail-fast-strategy
4949

5050
# runs-on: macos-latest
@@ -56,7 +56,7 @@ jobs:
5656
- target: linux-musl-x64
5757
name: linux-musl-x64
5858
platform: linux/amd64
59-
tag: 9.0-alpine-aot-amd64
59+
tag: 10.0-preview-alpine-aot-amd64
6060
fail-fast: false
6161
runs-on: ubuntu-latest
6262
timeout-minutes: 10
@@ -66,11 +66,11 @@ jobs:
6666
steps:
6767
- uses: actions/checkout@v4
6868
- name: Build ${{ matrix.target }}
69-
run: dotnet publish
69+
run: dotnet publish -p:TargetFramework=net10.0
7070
- name: Upload ${{ matrix.target }} Artifact
7171
uses: actions/upload-artifact@v4
7272
with:
73-
path: build/publish/ModelContextProtocol.NET.Demo.Calculator/release/ModelContextProtocol.NET.Demo.Calculator*
73+
path: build/publish/ModelContextProtocol.NET.Demo.Calculator/release_net10.0/ModelContextProtocol.NET.Demo.Calculator*
7474
name: ${{ matrix.name }}-build
7575
compression-level: 0
7676
create-prerelease:

0 commit comments

Comments
 (0)