From b68a72215dba2256ec72de050f96ec2246aedb4b Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 27 Sep 2023 01:02:39 +0000 Subject: [PATCH] chore: self mutation Signed-off-by: github-actions --- .github/workflows/k8s-upgrade-automation.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/k8s-upgrade-automation.yml b/.github/workflows/k8s-upgrade-automation.yml index e71425bc29..e290148cbe 100644 --- a/.github/workflows/k8s-upgrade-automation.yml +++ b/.github/workflows/k8s-upgrade-automation.yml @@ -119,13 +119,10 @@ jobs: - name: Import the new k8s spec from the prerequisite step run: yarn run import - name: Disable publishing if testingMode is true - run: "if [ ${{ github.event.inputs.testingMode }} == true ] ; then - - \ npx projen disable-publishing - - \ fi - - \ " + run: |- + if [ ${{ github.event.inputs.testingMode }} == true ] ; then + npx projen disable-publishing + fi - name: Let projen update the remaining files run: npx projen build - name: Update references of old kubernetes versions with projen task