We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba1f90f commit f1a9397Copy full SHA for f1a9397
.github/workflows/deploy.yml
@@ -15,11 +15,17 @@ jobs:
15
steps:
16
- uses: actions/checkout@v4.2.2
17
18
- - name: dotnet
+ - name: setup dotnet
19
+ id: dotnet
20
uses: actions/setup-dotnet@v4.3.1
21
with:
22
dotnet-version: 8.0.x
23
24
+ # Note: Unless a concrete version is specified in the `global.json` file,
25
+ # the latest .NET version installed on the runner (including preinstalled
26
+ # versions) will be used by default. To control this behavior, you may want
27
+ # to use temporary `global.json` files.
28
+ # https://github.com/actions/setup-dotnet/blob/main/README.md#matrix-testing
29
- name: Create `global.json`
30
run: |
31
echo '{"sdk":{"version": "${{ steps.dotnet.outputs.dotnet-version }}"}}' > ./global.json
0 commit comments