Skip to content

Commit

Permalink
Fix the configuration for actions (#471)
Browse files Browse the repository at this point in the history
Because cleanrepo now has a dependency on the docs-tools library, build from the parent folder, and adjust the Dockerfile accordingly.
  • Loading branch information
BillWagner authored Feb 2, 2025
1 parent cd24856 commit a299256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cleanrepo/Dockerfile → cleanrepo.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 as build-env
# Copy everything and publish the release (publish implicitly restores and builds)
WORKDIR /app
COPY . ./
RUN dotnet publish "CleanRepo.csproj" -c Release -o out --no-self-contained
RUN dotnet publish "./cleanrepo/CleanRepo.csproj" -c Release -o out --no-self-contained

# Relayer the .NET SDK, anew with the build output
FROM mcr.microsoft.com/dotnet/sdk:9.0
Expand Down
2 changes: 1 addition & 1 deletion cleanrepo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inputs:
required: true
runs:
using: docker
image: Dockerfile
image: ../cleanrepo/Dockerfile
args:
- '/Options:Function'
- ${{ inputs.function }}
Expand Down

0 comments on commit a299256

Please sign in to comment.