Improve readability of global.json creation command (#694)

Updated the command to create global.json for better readability and execution.
This commit is contained in:
Michal Domanski
2026-06-23 19:35:56 +02:00
committed by GitHub
parent 4406a635cd
commit 9bd3b44355

View File

@@ -239,7 +239,8 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Create temporary global.json
run: echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json
run: |
echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json
- name: Execute dotnet
run: dotnet build <my project>
```