From 218d05b6610a63cf0d4fc27d8deae7ae2f51dc48 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Mon, 21 Mar 2022 15:31:27 -0700 Subject: [PATCH] ci: Use simplified expression syntax (#4046) The "if" fields do not need to use expression syntax (`${{ }}`), and some conditionals will be easier to read if we omit that. --- .github/workflows/release-please.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index be7328715b..4518dab963 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -30,9 +30,9 @@ jobs: # If we didn't create a release, we may have created or updated a PR. - uses: actions/checkout@v2 - if: ${{ ! steps.release.outputs.release_created }} + if: steps.release.outputs.release_created == false - name: Custom update Player version - if: ${{ ! steps.release.outputs.release_created }} + if: steps.release.outputs.release_created == false run: | # Check out the branch that release-please created, if it exists. git fetch @@ -56,7 +56,7 @@ jobs: tag-main: runs-on: ubuntu-latest needs: release - if: ${{ needs.release.outputs.release_created }} + if: needs.release.outputs.release_created steps: - uses: actions/checkout@v2 - name: Tag the main branch @@ -71,7 +71,7 @@ jobs: npm: runs-on: ubuntu-latest needs: release - if: ${{ needs.release.outputs.release_created }} + if: needs.release.outputs.release_created steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -96,7 +96,7 @@ jobs: appspot: runs-on: ubuntu-latest needs: release - if: ${{ needs.release.outputs.release_created }} + if: needs.release.outputs.release_created steps: - uses: actions/checkout@v2 with: