Skip to content

Commit ba1f90f

Browse files
Try to define the .NET Version.
1 parent 49b1ce1 commit ba1f90f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4.2.2
1717

18-
- name: setup dotnet
18+
- name: dotnet
1919
uses: actions/setup-dotnet@v4.3.1
2020
with:
2121
dotnet-version: 8.0.x
2222

23+
- name: Create `global.json`
24+
run: |
25+
echo '{"sdk":{"version": "${{ steps.dotnet.outputs.dotnet-version }}"}}' > ./global.json
26+
2327
- name: test
2428
timeout-minutes: 10
2529
run: |

0 commit comments

Comments
 (0)