Skip to content

Commit

Permalink
add newlines to conditional run command
Browse files Browse the repository at this point in the history
Signed-off-by: Sumu <[email protected]>
  • Loading branch information
sumupitchayan committed Sep 27, 2023
1 parent 7ca756b commit 7d23b54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/k8s-upgrade-automation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/k8s-automation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,10 @@ export class K8sVersionUpgradeAutomation extends Component {
run: 'yarn run import',
},
{
name: 'Disable publishing if is testingMode is true',
run: 'if [ ${{ github.event.inputs.testingMode }} == true ]; then npx projen disable-publishing',
name: 'Disable publishing if testingMode is true',
run: 'if [ ${{ github.event.inputs.testingMode }} == true ] ;' + ` then
npx projen disable-publishing
fi`,
},
{
name: 'Let projen update the remaining files',
Expand Down

0 comments on commit 7d23b54

Please sign in to comment.