Skip to content

Commit 545bf8d

Browse files
committed
Update GitHub action
.NET 10 changes
1 parent d0dbaaf commit 545bf8d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ jobs:
3030
- name: Publish release
3131
run: dotnet publish -c Release
3232
- name: Remove .wasm file
33-
run: rm bin/Release/net9.0/publish/wwwroot/_framework/*.wasm
33+
run: rm bin/Release/net10.0/publish/wwwroot/_framework/*.wasm
3434
- name: Remove .gz file
35-
run: rm bin/Release/net9.0/publish/wwwroot/_framework/*.gz
35+
run: rm bin/Release/net10.0/publish/wwwroot/_framework/*.gz
3636
- name: Upload to pages
3737
uses: cloudflare/wrangler-action@v3
3838
with:
3939
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
40-
command: pages publish bin/Release/net9.0/publish/wwwroot --project-name=dithery
40+
accountId: ${{ secrets.CF_ACCOUNT_ID }}
41+
command: pages deploy bin/Release/net10.0/publish/wwwroot --project-name=dithery
4142

0 commit comments

Comments
 (0)