Skip to content

Commit f5ea2ce

Browse files
Copy .NET tooling config to root
1 parent 110a69c commit f5ea2ce

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ jobs:
121121
working-directory: ./
122122
run: copy ./tooling/.github/workflows/Directory.Build.* ./
123123

124+
- name: Make .config directory
125+
shell: pwsh
126+
working-directory: ./
127+
run: mkdir ./.config
128+
129+
- name: Copy tooling config to root
130+
shell: pwsh
131+
working-directory: ./
132+
run: copy ./tooling/.config/dotnet-tools.json ./.config/dotnet-tools.json
133+
124134
- name: Make empty component directory
125135
shell: pwsh
126136
working-directory: ./
@@ -131,7 +141,7 @@ jobs:
131141

132142
# Restore Tools from Manifest list in the Repository
133143
- name: Restore dotnet tools
134-
working-directory: ./tooling
144+
working-directory: ./
135145
run: dotnet tool restore
136146

137147
# Create a new experiment from the template and test using that
@@ -206,14 +216,24 @@ jobs:
206216
working-directory: ./
207217
run: copy ./tooling/.github/workflows/Directory.Build.* ./
208218

219+
- name: Make .config directory
220+
shell: pwsh
221+
working-directory: ./
222+
run: mkdir ./.config
223+
224+
- name: Copy tooling config to root
225+
shell: pwsh
226+
working-directory: ./
227+
run: copy ./tooling/.config/dotnet-tools.json ./.config/dotnet-tools.json
228+
209229
- name: Make empty component directory
210230
shell: pwsh
211231
working-directory: ./
212232
run: mkdir ./components
213233

214234
# Restore Tools from Manifest list in the Repository
215235
- name: Restore dotnet tools
216-
working-directory: ./tooling
236+
working-directory: ./
217237
run: dotnet tool restore
218238

219239
- name: Generate solution

0 commit comments

Comments
 (0)