Skip to content

Commit 72a4d17

Browse files
authored
Merge pull request #22 from TraGicCode/fixing-dotnet-tool-automated-release-round-3
Fix docker build along with attempting to fix dotnet tool publish
2 parents 6a1681f + 73cc808 commit 72a4d17

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/dotnet_tool_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: devcontainers/[email protected]
2121
with:
2222
runCmd: |
23-
dotnet cake --target Pack-DotNetTool --version ${{ inputs.version }}
23+
dotnet cake --target Pack-DotNetTool --package-version ${{ inputs.version }}
2424
2525
- name: Publish to NuGet (optional)
2626
run: dotnet nuget push ./artifacts/nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

src/BuslyCLI.Console/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
FROM mcr.microsoft.com/dotnet/sdk:10.0.100 AS build
33
WORKDIR /src
44

5+
COPY Directory.Build.props ./
6+
57
# Copy project file and restore dependencies (better layer caching)
68
COPY src/BuslyCLI.Console/BuslyCLI.Console.csproj ./BuslyCLI.Console/
79
RUN dotnet restore "BuslyCLI.Console/BuslyCLI.Console.csproj" \

0 commit comments

Comments
 (0)