cake-build / cake-build/cake-action

Feature Request: Support for Multiple Script Formats

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
51
Forks
12
PR merge metrics
No merged PRs in 30d

Description

## Feature Request: Support for Additional Script Formats

Currently, the Cake action primarily supports the execution of `build.cake` scripts and `.csproj` files for Cake Frosting projects. It would be beneficial to extend support for additional script formats that are commonly used in CI/CD pipelines.

### Suggested Formats:
1. **YAML Build Scripts**: Many projects are starting to adopt YAML formatted scripts for builds. Supporting this format could ease integration for those transitioning from other CI tools.
2. **PowerShell Scripts**: Allowing the execution of PowerShell build scripts could be useful for Windows users who prefer using PowerShell for automation tasks.

### Benefits:
- **Increased Flexibility**: This feature would allow users to leverage existing scripts without needing to convert them to Cake format.
- **Wider Adoption**: Supporting more formats could attract a broader audience that is currently using different scripting methods.

### Implementation Considerations:
- Define how users can specify which format they are using.
- Ensure that the output from these scripts is also redirected to the build log.

I believe this enhancement would make the Cake action even more versatile and user-friendly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the action entry point that currently handles build.cake and .csproj inputs. Define how users select YAML or PowerShell, then verify that each format executes and redirects its output to the build log; the issue provides no test file or source path to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, powershell, typescript, yaml
Domain
build-system, ci-cd, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.