Skip to content

Commit b606930

Browse files
author
Petr Sramek
committed
fixed dot net version
1 parent 87346bd commit b606930

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/format-cs-files.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ concurrency:
2323
group: ${{ github.head_ref || github.ref }}
2424
cancel-in-progress: false
2525

26+
env:
27+
dotnet-sdk-version: '9.x'
28+
2629
jobs:
2730
formatting:
2831
name: Format whitespace, code style and file header
@@ -35,7 +38,7 @@ jobs:
3538
- name: Setup .NET
3639
uses: actions/setup-dotnet@v4
3740
with:
38-
dotnet-version: ${{ vars.DOTNET_SDK_VERSION }}
41+
dotnet-version: ${{ env.dotnet-sdk-version }}
3942
- name: Install dotnet-format tool
4043
run: dotnet tool install -g dotnet-format
4144
- name: Format with .NET CLI

0 commit comments

Comments
 (0)