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

Feature request: csproj / Cake.Frosting support #43

Open
devlead opened this issue Nov 18, 2022 · 3 comments · May be fixed by #46
Open

Feature request: csproj / Cake.Frosting support #43

devlead opened this issue Nov 18, 2022 · 3 comments · May be fixed by #46
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@devlead
Copy link
Member

devlead commented Nov 18, 2022

Would be nice to be able to use the action with Frosting too, something like

steps:
  - name: Run the Cake script
    uses: cake-build/cake-action@vX
    with:
      arguments: |
        name: value
      target: Build
      verbosity: Diagnostic
      csproj: ./build/build.csproj

resulted in something like below being executed

dotnet run --project ./build/build.csproj -- --target="Build" --verbosity="Diagnostic" --name="value"
@ecampidoglio ecampidoglio added this to the 2.1.0 milestone Nov 18, 2022
@ecampidoglio
Copy link
Member

Sounds like a nice addition.

@ecampidoglio ecampidoglio added the enhancement New feature or request label Nov 18, 2022
@ecampidoglio ecampidoglio self-assigned this Nov 30, 2022
@louisfischer
Copy link

@ecampidoglio @devlead what were you thinking about the implementation details? If you need some help with it, I would be help to assist.

@devlead
Copy link
Member Author

devlead commented Feb 3, 2023

@ecampidoglio @devlead what were you thinking about the implementation details? If you need some help with it, I would be help to assist.

Essentially like described above if csproj specified a separate flow is triggered, instead of installing and executing the Cake tool it should "just" do a dotnet run passing arguments to it just like it would a script.

A .NET run will implicitly restore and build the csproj, so that should be the only dotnet command needed to execute.

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

Successfully merging a pull request may close this issue.

3 participants