Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for workingDirectory #40

Open
agentschmitt opened this issue Sep 9, 2022 · 0 comments
Open

Add support for workingDirectory #40

agentschmitt opened this issue Sep 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@agentschmitt
Copy link

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.

@ecampidoglio ecampidoglio self-assigned this Sep 14, 2022
@ecampidoglio ecampidoglio added the enhancement New feature or request label Sep 14, 2022
@ecampidoglio ecampidoglio added this to the 2.1.0 milestone Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants