Skip to content

Commit b437fae

Browse files
authored
Merge pull request #715 from 7474/copilot/update-github-actions-workflow
Fix CD-pages workflow: MSB1003 due to missing project path in dotnet publish
2 parents 0845708 + fa98de5 commit b437fae

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/CD-pages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
17+
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: '8.0.x'
1722

1823
- name: Build project
19-
run: dotnet publish -c Release
24+
run: dotnet publish SRC.Sharp/SRCTestBlazor/SRCTestBlazor.csproj -c Release
2025

2126
- name: Deploy to GitHub Pages
2227
run: |

0 commit comments

Comments
 (0)