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

chore: pull out generic Step from JobStep #1787

Merged
merged 2 commits into from
Apr 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
api changes
  • Loading branch information
kaizencc committed Apr 21, 2022
commit 5bfc007a189e27d61eaeadf88155e7e94197264e
12 changes: 6 additions & 6 deletions docs/api/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -4405,15 +4405,15 @@ addPostBuildSteps(...steps: JobStep[]): void
```

* **steps** (<code>[github.workflows.JobStep](#projen-github-workflows-jobstep)</code>) The job steps.
* **continueOnError** (<code>boolean</code>) Prevents a job from failing when a step fails. __*Optional*__
* **env** (<code>Map<string, string></code>) Sets environment variables for steps to use in the runner environment. __*Optional*__
* **id** (<code>string</code>) A unique identifier for the step. __*Optional*__
* **if** (<code>string</code>) You can use the if conditional to prevent a job from running unless a condition is met. __*Optional*__
* **name** (<code>string</code>) A name for your step to display on GitHub. __*Optional*__
* **run** (<code>string</code>) Runs command-line programs using the operating system's shell. __*Optional*__
* **timeoutMinutes** (<code>number</code>) The maximum number of minutes to run the step before killing the process. __*Optional*__
* **uses** (<code>string</code>) Selects an action to run as part of a step in your job. __*Optional*__
* **with** (<code>Map<string, any></code>) A map of the input parameters defined by the action. __*Optional*__
* **continueOnError** (<code>boolean</code>) Prevents a job from failing when a step fails. __*Optional*__
* **timeoutMinutes** (<code>number</code>) The maximum number of minutes to run the step before killing the process. __*Optional*__



Expand Down Expand Up @@ -8095,15 +8095,15 @@ addPostBuildSteps(...steps: JobStep[]): void
```

* **steps** (<code>[github.workflows.JobStep](#projen-github-workflows-jobstep)</code>) workflow steps.
* **continueOnError** (<code>boolean</code>) Prevents a job from failing when a step fails. __*Optional*__
* **env** (<code>Map<string, string></code>) Sets environment variables for steps to use in the runner environment. __*Optional*__
* **id** (<code>string</code>) A unique identifier for the step. __*Optional*__
* **if** (<code>string</code>) You can use the if conditional to prevent a job from running unless a condition is met. __*Optional*__
* **name** (<code>string</code>) A name for your step to display on GitHub. __*Optional*__
* **run** (<code>string</code>) Runs command-line programs using the operating system's shell. __*Optional*__
* **timeoutMinutes** (<code>number</code>) The maximum number of minutes to run the step before killing the process. __*Optional*__
* **uses** (<code>string</code>) Selects an action to run as part of a step in your job. __*Optional*__
* **with** (<code>Map<string, any></code>) A map of the input parameters defined by the action. __*Optional*__
* **continueOnError** (<code>boolean</code>) Prevents a job from failing when a step fails. __*Optional*__
* **timeoutMinutes** (<code>number</code>) The maximum number of minutes to run the step before killing the process. __*Optional*__



Expand Down Expand Up @@ -8845,15 +8845,15 @@ addGitHubPrePublishingSteps(...steps: JobStep[]): void
```

* **steps** (<code>[github.workflows.JobStep](#projen-github-workflows-jobstep)</code>) The steps.
* **continueOnError** (<code>boolean</code>) Prevents a job from failing when a step fails. __*Optional*__
* **env** (<code>Map<string, string></code>) Sets environment variables for steps to use in the runner environment. __*Optional*__
* **id** (<code>string</code>) A unique identifier for the step. __*Optional*__
* **if** (<code>string</code>) You can use the if conditional to prevent a job from running unless a condition is met. __*Optional*__
* **name** (<code>string</code>) A name for your step to display on GitHub. __*Optional*__
* **run** (<code>string</code>) Runs command-line programs using the operating system's shell. __*Optional*__
* **timeoutMinutes** (<code>number</code>) The maximum number of minutes to run the step before killing the process. __*Optional*__
* **uses** (<code>string</code>) Selects an action to run as part of a step in your job. __*Optional*__
* **with** (<code>Map<string, any></code>) A map of the input parameters defined by the action. __*Optional*__
* **continueOnError** (<code>boolean</code>) Prevents a job from failing when a step fails. __*Optional*__
* **timeoutMinutes** (<code>number</code>) The maximum number of minutes to run the step before killing the process. __*Optional*__



Expand Down