mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-06-24 23:28:19 +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:
|
with:
|
||||||
dotnet-version: ${{ matrix.dotnet }}
|
dotnet-version: ${{ matrix.dotnet }}
|
||||||
- name: Create temporary global.json
|
- 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
|
- name: Execute dotnet
|
||||||
run: dotnet build <my project>
|
run: dotnet build <my project>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user