Skip to content

Commit 66dd5da

Browse files
authored
Update deploy_demo.yml (#4275)
Use specific net 9 SDK
1 parent 8f83eb3 commit 66dd5da

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/deploy_demo.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
name: Build and deploy Demo site
2424
env:
25-
DOTNET_VERSION: "net10.0"
25+
DOTNET_VERSION: "net9.0"
2626
DOTNET_CLI_TELEMETRY_OPTOUT: 1
2727
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
2828
DOTNET_NOLOGO: true
@@ -37,17 +37,17 @@ jobs:
3737
- name: Checkout source
3838
uses: actions/checkout@v4
3939

40-
# - name: .NET Setup SDKs
41-
# uses: actions/setup-dotnet@v4
42-
# with:
43-
# dotnet-version: 9.0.x
44-
# dotnet-quality: ga
45-
46-
- name: Setup .NET 10.0
40+
- name: .NET Setup SDKs
4741
uses: actions/setup-dotnet@v4
4842
with:
49-
dotnet-version: 10.0.x
50-
dotnet-quality: preview
43+
dotnet-version: 9.0.205
44+
dotnet-quality: ga
45+
46+
#- name: Setup .NET 10.0
47+
# uses: actions/setup-dotnet@v4
48+
# with:
49+
# dotnet-version: 10.0.x
50+
# dotnet-quality: preview
5151

5252
- name: NPM Install
5353
uses: actions/setup-node@v4
@@ -61,7 +61,7 @@ jobs:
6161
run: dotnet build ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true
6262

6363
- name: .NET Publish
64-
run: dotnet publish ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true --no-build
64+
run: dotnet publish ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true
6565

6666
- name: Deploy demo site to Azure Static Web App
6767
id: builddeploy

0 commit comments

Comments
 (0)