mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-06-24 15:18:18 +01:00
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:
@@ -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>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user