Skip to content

Commit a299256

Browse files
authored
Fix the configuration for actions (#471)
Because cleanrepo now has a dependency on the docs-tools library, build from the parent folder, and adjust the Dockerfile accordingly.
1 parent cd24856 commit a299256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cleanrepo/Dockerfile cleanrepo.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 as build-env
22
# Copy everything and publish the release (publish implicitly restores and builds)
33
WORKDIR /app
44
COPY . ./
5-
RUN dotnet publish "CleanRepo.csproj" -c Release -o out --no-self-contained
5+
RUN dotnet publish "./cleanrepo/CleanRepo.csproj" -c Release -o out --no-self-contained
66

77
# Relayer the .NET SDK, anew with the build output
88
FROM mcr.microsoft.com/dotnet/sdk:9.0

cleanrepo/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ inputs:
2020
required: true
2121
runs:
2222
using: docker
23-
image: Dockerfile
23+
image: ../cleanrepo/Dockerfile
2424
args:
2525
- '/Options:Function'
2626
- ${{ inputs.function }}

0 commit comments

Comments
 (0)