|
6 | 6 | - main |
7 | 7 | workflow_dispatch: |
8 | 8 | inputs: |
9 | | - deploy_net8: |
10 | | - description: 'Deploy .NET 8 version' |
11 | | - type: boolean |
12 | | - default: true |
| 9 | + # .NET 8 disabled - uncomment to re-enable: |
| 10 | + # deploy_net8: |
| 11 | + # description: 'Deploy .NET 8 version' |
| 12 | + # type: boolean |
| 13 | + # default: true |
13 | 14 | deploy_net10: |
14 | 15 | description: 'Deploy .NET 10 version' |
15 | 16 | type: boolean |
16 | 17 | default: true |
17 | 18 |
|
18 | 19 | env: |
19 | 20 | # App Service names - update these to match your Azure resources |
20 | | - AZURE_WEBAPP_NET8: perfsimdotnet8 |
| 21 | + # .NET 8 disabled - uncomment to re-enable: |
| 22 | + # AZURE_WEBAPP_NET8: perfsimdotnet8 |
21 | 23 | AZURE_WEBAPP_NET10: PerfSimDotNet |
22 | 24 |
|
23 | 25 | permissions: |
|
30 | 32 | strategy: |
31 | 33 | matrix: |
32 | 34 | include: |
33 | | - - framework: net8.0 |
34 | | - dotnet-version: '8.0.x' |
35 | | - artifact-name: publish-net8 |
| 35 | + # .NET 8 disabled - uncomment to re-enable: |
| 36 | + # - framework: net8.0 |
| 37 | + # dotnet-version: '8.0.x' |
| 38 | + # artifact-name: publish-net8 |
36 | 39 | - framework: net10.0 |
37 | 40 | dotnet-version: '10.0.x' |
38 | 41 | artifact-name: publish-net10 |
@@ -61,30 +64,31 @@ jobs: |
61 | 64 | name: ${{ matrix.artifact-name }} |
62 | 65 | path: ./publish |
63 | 66 |
|
64 | | - deploy-net8: |
65 | | - needs: build |
66 | | - runs-on: ubuntu-latest |
67 | | - if: github.event_name == 'push' || github.event.inputs.deploy_net8 == 'true' |
68 | | - |
69 | | - steps: |
70 | | - - name: Download .NET 8 artifact |
71 | | - uses: actions/download-artifact@v4 |
72 | | - with: |
73 | | - name: publish-net8 |
74 | | - path: ./publish-net8 |
75 | | - |
76 | | - - name: Login to Azure |
77 | | - uses: azure/login@v2 |
78 | | - with: |
79 | | - client-id: ${{ secrets.AZURE_CLIENT_ID }} |
80 | | - tenant-id: ${{ secrets.AZURE_TENANT_ID }} |
81 | | - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} |
82 | | - |
83 | | - - name: Deploy to Azure Web App (.NET 8) |
84 | | - uses: azure/webapps-deploy@v3 |
85 | | - with: |
86 | | - app-name: ${{ env.AZURE_WEBAPP_NET8 }} |
87 | | - package: ./publish-net8 |
| 67 | + # .NET 8 deployment disabled - uncomment to re-enable: |
| 68 | + # deploy-net8: |
| 69 | + # needs: build |
| 70 | + # runs-on: ubuntu-latest |
| 71 | + # if: github.event_name == 'push' || github.event.inputs.deploy_net8 == 'true' |
| 72 | + # |
| 73 | + # steps: |
| 74 | + # - name: Download .NET 8 artifact |
| 75 | + # uses: actions/download-artifact@v4 |
| 76 | + # with: |
| 77 | + # name: publish-net8 |
| 78 | + # path: ./publish-net8 |
| 79 | + # |
| 80 | + # - name: Login to Azure |
| 81 | + # uses: azure/login@v2 |
| 82 | + # with: |
| 83 | + # client-id: ${{ secrets.AZURE_CLIENT_ID }} |
| 84 | + # tenant-id: ${{ secrets.AZURE_TENANT_ID }} |
| 85 | + # subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} |
| 86 | + # |
| 87 | + # - name: Deploy to Azure Web App (.NET 8) |
| 88 | + # uses: azure/webapps-deploy@v3 |
| 89 | + # with: |
| 90 | + # app-name: ${{ env.AZURE_WEBAPP_NET8 }} |
| 91 | + # package: ./publish-net8 |
88 | 92 |
|
89 | 93 | deploy-net10: |
90 | 94 | needs: build |
|
0 commit comments