File tree Expand file tree Collapse file tree 4 files changed +0
-13
lines changed
Expand file tree Collapse file tree 4 files changed +0
-13
lines changed Original file line number Diff line number Diff line change 77 "commands" : [
88 " dotnet-csharpier"
99 ]
10- },
11- "husky" : {
12- "version" : " 0.6.2" ,
13- "commands" : [
14- " husky"
15- ]
1610 }
1711 }
1812}
Original file line number Diff line number Diff line change 2222 NUGET_KEY : ${{secrets.NUGET_API_KEY}}
2323 PROJECT_FILE_PATH : Src/CSharpier.Cli/CSharpier.Cli.csproj
2424 TAG_FORMAT : " *"
25- RESTORE_TOOLS : 0
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ WORKDIR /build
2121COPY ./Directory.Build.props ./Directory.Packages.props ./
2222COPY ./Src/CSharpier.Playground/CSharpier.Playground.csproj Src/CSharpier.Playground/
2323COPY ./Src/CSharpier/CSharpier.csproj Src/CSharpier/
24- ARG RESTORE_TOOLS=0
2524RUN dotnet restore "Src/CSharpier.Playground/CSharpier.Playground.csproj"
2625
2726COPY ./Src/CSharpier.Playground/ClientApp/package.json Src/CSharpier.Playground/ClientApp/
@@ -35,7 +34,6 @@ WORKDIR /build
3534COPY . .
3635
3736FROM build AS publish
38- ARG RESTORE_TOOLS=0
3937RUN dotnet publish "Src/CSharpier.Playground/CSharpier.Playground.csproj" -c Release -o /app/publish
4038
4139FROM base AS final
Original file line number Diff line number Diff line change 4444 <Link >logo.png</Link >
4545 </None >
4646 </ItemGroup >
47- <Target Name =" RestoreTools" BeforeTargets =" Restore;CollectPackageReferences" Condition =" '$(RESTORE_TOOLS)' != 0 and '$(IsCrossTargetingBuild)' == 'true'" >
48- <Exec Command =" dotnet tool restore" StandardOutputImportance =" Low" StandardErrorImportance =" High" />
49- <Exec Command =" dotnet husky install" StandardOutputImportance =" Low" StandardErrorImportance =" High" WorkingDirectory =" ../../" />
50- </Target >
5147</Project >
You can’t perform that action at this time.
0 commit comments