mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 14:45:09 +00:00
Fix MD format error
This commit is contained in:
parent
9e7edbaefa
commit
664fbdedde
10
README.md
10
README.md
@ -13,7 +13,7 @@ This action sets up a dotnet environment for use in actions by:
|
|||||||
|
|
||||||
See [action.yml](action.yml)
|
See [action.yml](action.yml)
|
||||||
|
|
||||||
##Basic:
|
## Basic:
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
@ -23,7 +23,7 @@ steps:
|
|||||||
- run: dotnet build <my project>
|
- run: dotnet build <my project>
|
||||||
```
|
```
|
||||||
|
|
||||||
##Matrix Testing:
|
## Matrix Testing:
|
||||||
```yaml
|
```yaml
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
- run: dotnet build <my project>
|
- run: dotnet build <my project>
|
||||||
```
|
```
|
||||||
|
|
||||||
##Publishing a standalone copy for Release execution (include all dependencies):
|
## Publishing a standalone copy for Release execution (include all dependencies):
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@ -52,7 +52,7 @@ steps:
|
|||||||
run: dotnet publish --configuration Release
|
run: dotnet publish --configuration Release
|
||||||
```
|
```
|
||||||
|
|
||||||
##Publishing a standalone copy for Release execution (include all dependencies with specified NuGet sources):
|
## Publishing a standalone copy for Release execution (include all dependencies with specified NuGet sources):
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@ -62,7 +62,7 @@ steps:
|
|||||||
- name: Build + Publish with dotnet
|
- name: Build + Publish with dotnet
|
||||||
run: dotnet publish --configuration Release
|
run: dotnet publish --configuration Release
|
||||||
```
|
```
|
||||||
###Your nuget.config may look like so, just add your sources under the default source
|
### Your nuget.config may look like so, just add your sources under the default source
|
||||||
```xml
|
```xml
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user