@@ -4,6 +4,7 @@ on: [push, pull_request]
44
55env :
66 nodeVersion : 14.x
7+ dotNetVersion : 6.0.x
78
89jobs :
910
@@ -13,65 +14,66 @@ jobs:
1314 steps :
1415
1516 - name : Checkout
16- uses : actions/checkout@v3
17+ uses : actions/checkout@v4
1718
1819 - name : Setup Node.js
19- uses : actions/setup-node@v3
20+ uses : actions/setup-node@v4
2021 with :
2122 node-version : ${{ env.nodeVersion }}
2223
24+ - name : Set up .NET
25+ uses : actions/setup-dotnet@v4
26+ with :
27+ dotnet-version : ${{ env.dotNetVersion }}
28+
2329 - name : Install dependencies
2430 run : npm install
2531
2632 - name : Validation
2733 run : npm run validate-docs
2834
29- - name : Archive internal-tools artifacts
30- uses : actions/upload-artifact@v3
31- with :
32- name : internal-tools-artifacts
33- path : artifacts/internal-tools/
34- retention-days : 7
35-
3635 build :
3736 runs-on : ubuntu-latest
3837 name : ContentMap
3938 steps :
4039
4140 - name : Checkout
42- uses : actions/checkout@v3
41+ uses : actions/checkout@v4
4342
4443 - name : Setup Node.js
45- uses : actions/setup-node@v3
44+ uses : actions/setup-node@v4
4645 with :
4746 node-version : ${{ env.nodeVersion }}
4847
48+ - name : Set up .NET
49+ uses : actions/setup-dotnet@v4
50+ with :
51+ dotnet-version : ${{ env.dotNetVersion }}
52+
4953 - name : Install dependencies
5054 run : npm install
5155
5256 - name : Generate ContentMaps
5357 run : npm run generate-content-map
5458
55- - name : Archive internal-tools artifacts
56- uses : actions/upload-artifact@v3
57- with :
58- name : internal-tools-artifacts
59- path : artifacts/internal-tools/
60- retention-days : 7
61-
6259 link :
6360 runs-on : ubuntu-latest
6461 name : Check links
6562 steps :
6663
6764 - name : Checkout
68- uses : actions/checkout@v3
65+ uses : actions/checkout@v4
6966
7067 - name : Setup Node.js
71- uses : actions/setup-node@v3
68+ uses : actions/setup-node@v4
7269 with :
7370 node-version : ${{ env.nodeVersion }}
7471
72+ - name : Set up .NET
73+ uses : actions/setup-dotnet@v4
74+ with :
75+ dotnet-version : ${{ env.dotNetVersion }}
76+
7577 - name : Install dependencies
7678 run : npm install
7779
8082
8183 - name : Check links
8284 run : npm run validate-links
83-
84- - name : Archive internal-tools artifacts
85- uses : actions/upload-artifact@v3
86- with :
87- name : internal-tools-artifacts
88- path : artifacts/internal-tools/
89- retention-days : 7
90-
91- # modules:
92- # runs-on: ubuntu-latest
93- # name: Check modules guide
94- # steps:
95-
96- # - name: Checkout
97- # uses: actions/checkout@v3
98-
99- # - name: Setup Node.js
100- # uses: actions/setup-node@v3
101- # with:
102- # node-version: ${{ env.nodeVersion }}
103-
104- # - name: Install dependencies
105- # run: npm install
106-
107- # - name: Check modules guide
108- # run: npm run validate-modules-guide
109-
110- # - name: Archive internal-tools artifacts
111- # uses: actions/upload-artifact@v3
112- # with:
113- # name: internal-tools-artifacts
114- # path: artifacts/internal-tools/
115- # retention-days: 7
0 commit comments