Skip to content

Commit af4b9e5

Browse files
committed
2 parents 0c2b9e1 + a3a6ed2 commit af4b9e5

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
id: setup_dotnet_core
5959
uses: actions/setup-dotnet@v4
6060
with:
61-
dotnet-version: '8.0.x'
61+
dotnet-version: '9.0.x'
6262
include-prerelease: true
6363

6464
- name: Checkout repository
@@ -72,14 +72,13 @@ jobs:
7272
id: build_solution
7373
shell: pwsh
7474
run: |
75-
dotnet build ./DevBetterWeb.sln --configuration Release --output Artifacts
75+
dotnet build ./DevBetterWeb.sln --configuration Release
7676
7777
- name: Run unit tests
7878
id: run_unit_tests
7979
shell: pwsh
8080
run: |
81-
dotnet test ./DevBetterWeb.sln --filter FullyQualifiedName!~Vimeo.Tests --configuration Release --no-build --output Artifacts
82-
81+
dotnet test ./DevBetterWeb.sln --filter FullyQualifiedName!~Vimeo.Tests --configuration Release --no-build
8382
- name: Publish WebApp
8483
id: publish_webapp
8584
shell: pwsh

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup .NET Core
1515
uses: actions/setup-dotnet@v4
1616
with:
17-
dotnet-version: '8.0.x'
17+
dotnet-version: '9.0.x'
1818
include-prerelease: true
1919
- name: Build and Test with dotnet
2020
run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
- name: Setup .NET Core
2121
uses: actions/setup-dotnet@v4
2222
with:
23-
dotnet-version: '8.0.x'
23+
dotnet-version: '9.0.x'
2424
include-prerelease: true
2525

2626
- name: Build and test
27-
run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release /p:TreatWarningsAsErrors=false
27+
run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release
2828
- name: publish
29-
run: dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp' /p:TreatWarningsAsErrors=false
29+
run: dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp'
3030

3131
# Deploy to Azure WebApps using Publish Profile
3232
- name: 'Azure webapp deploy with Publish Profile'

0 commit comments

Comments
 (0)