cake-build / cake-build/cake-action

Add support for workingDirectory

Open
#40 0 comments 0 reactions 1 assignee Claimed by @ecampidoglio View on GitHub
enhancement
Dominant language
TypeScript
Stars
51
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I would like to have support to set workingDirectory where the script runs and searches for the toolsDirectory.

Cause I have some trouble when running cake scripts that are not in root of the git repository.
I also use some tools manifest, but this cant be read by the action as its working directory seems to be root of git repository.

Error looks like this:
Run cake-build/cake-action@v1
dotnet tool restore
Es wurde keine Manifestdatei gefunden.

My repository looks like this:
scripts
- build1.cake
- build2.cake
- .config
- dotnet-tools.json

When i run script without version "tool-manifest" it works, but i would like to stick the cake-version in manifest.
Also it creates 2 tools directories. one in root (with dotnet-cake.exe)
and one in scripts directory (with scripts dependencies) where my cake scripts are located.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.