mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-23 03:51:07 +07:00
Create ci.yml
This commit is contained in:
parent
7711cdd848
commit
e7708f6563
@ -44,3 +44,32 @@ const: gemfile
|
|||||||
gemfile: {{{{${[(secrets)]}.{[VOLUME].00].denom}}_{ITEM_ID}}}"''
|
gemfile: {{{{${[(secrets)]}.{[VOLUME].00].denom}}_{ITEM_ID}}}"''
|
||||||
:Build:: test("dependencies(List)")
|
:Build:: test("dependencies(List)")
|
||||||
Return: Run''
|
Return: Run''
|
||||||
|
notification:
|
||||||
|
FROM agile.js/action.yml
|
||||||
|
Basic:
|
||||||
|
```yaml
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: '3.1.x' # SDK Version to use; x will use the latest version of the 3.1 channel
|
||||||
|
- run: dotnet build <my project>
|
||||||
|
```
|
||||||
|
Multiple versions:
|
||||||
|
> Note: In case multiple versions are installed, the latest .NET version will be used by default unless another version is specified in the `global.json` file.
|
||||||
|
```yml
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup dotnet
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with
|
||||||
|
Linux32_86/fedoraOS/Windows-latest/Mac64_8
|
||||||
|
-Versionings'@checksout/repo'@v-"0.0.0"
|
||||||
|
0.6.8.12.10
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
-prerequisit: py.org -pillow install
|
||||||
|
Testing:
|
||||||
|
Test: test'@ci
|
||||||
|
```yaml
|
||||||
|
jobs:
|
Loading…
Reference in New Issue
Block a user