-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.14 KB
/
actions2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: dotnet-version-check
run-name: ${{ github.actor }} page 2
on:
workflow_dispatch
jobs:
# job1:
# name: Running job1
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: run child process
# run: |
# node .github/scripts/test_child_process.js
# job2:
# name: Running job2
# runs-on: ubuntu-latest
# steps:
# - name: Setup .NET Core SDK
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: '7.0.103'
# - name: Display
# run: ls /usr/share/dotnet/sdk/
# - name: Remove faulty SDK version
# run: sudo rm -rf /usr/share/dotnet/sdk/{7*,8*}
# - name: Display
# run: ls /usr/share/dotnet/sdk/
# - name: Get installed dotnet version
# run: dotnet --version
job3:
name: Running job on windows
runs-on: windows-latest
steps:
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.103'
- name: Display
run: dotnet --info
- name: Get installed dotnet version
run: dotnet --version