|
3 | 3 | push:
|
4 | 4 | branches:
|
5 | 5 | - build/github-actions-test
|
| 6 | + tags: |
| 7 | + - "v*" |
| 8 | + - "ci*" |
6 | 9 | workflow_dispatch:
|
7 | 10 | jobs:
|
8 | 11 | build-native:
|
@@ -32,34 +35,22 @@ jobs:
|
32 | 35 | path: build/publish/ModelContextProtocol.NET.Demo.Calculator/release/ModelContextProtocol.NET.Demo.Calculator*
|
33 | 36 | name: ${{ matrix.name }}-build
|
34 | 37 | compression-level: 0
|
35 |
| - build-docker-arm64: |
36 |
| - strategy: |
37 |
| - matrix: |
38 |
| - include: |
39 |
| - - target: linux-musl-arm64 |
40 |
| - name: linux-musl-arm64 |
41 |
| - platform: linux/arm64 |
42 |
| - tag: 9.0-alpine-aot-arm64v8 |
43 |
| - - target: linux-arm64 |
44 |
| - name: linux-arm64 |
45 |
| - platform: linux/arm64 |
46 |
| - tag: 9.0-noble-aot-arm64v8 |
47 |
| - fail-fast: false |
48 |
| - runs-on: ubuntu-latest |
49 |
| - timeout-minutes: 10 |
50 |
| - container: |
51 |
| - image: mcr.microsoft.com/dotnet/nightly/sdk:${{ matrix.tag }} |
52 |
| - options: --platform ${{ matrix.platform }} |
53 |
| - steps: |
54 |
| - - uses: actions/checkout@v4 |
55 |
| - - name: Build ${{ matrix.target }} |
56 |
| - run: dotnet publish |
57 |
| - - name: Upload ${{ matrix.target }} Artifact |
58 |
| - uses: actions/upload-artifact@v4 |
59 |
| - with: |
60 |
| - path: build/publish/ModelContextProtocol.NET.Demo.Calculator/release/ModelContextProtocol.NET.Demo.Calculator* |
61 |
| - name: ${{ matrix.name }}-build |
62 |
| - compression-level: 0 |
| 38 | + # build-docker-arm64: |
| 39 | + # strategy: |
| 40 | + # matrix: |
| 41 | + # include: |
| 42 | + # - target: linux-musl-arm64 |
| 43 | + # name: linux-musl-arm64 |
| 44 | + # platform: linux/arm64 |
| 45 | + # tag: 9.0-alpine-aot-arm64v8 |
| 46 | + # - target: linux-arm64 |
| 47 | + # name: linux-arm64 |
| 48 | + # platform: linux/arm64 |
| 49 | + # tag: 9.0-noble-aot-arm64v8 |
| 50 | + # <<: *no-fail-fast-strategy |
| 51 | + |
| 52 | + # runs-on: macos-latest |
| 53 | + # <<: *use-docker-sdk-with-matrix |
63 | 54 | build-docker-amd64:
|
64 | 55 | strategy:
|
65 | 56 | matrix:
|
|
87 | 78 | create-prelease:
|
88 | 79 | permissions:
|
89 | 80 | contents: write
|
90 |
| - needs: [build-native, build-docker-arm64, build-docker-amd64] |
| 81 | + needs: [build-native, build-docker-amd64] |
91 | 82 | uses: ./.github/workflows/create-releases.yml
|
92 | 83 | with:
|
93 | 84 | workflow-file: "publish-calculator-demo-aot.yml"
|
|
0 commit comments