Skip to content

Commit

Permalink
ci: Use simplified expression syntax (#4046)
Browse files Browse the repository at this point in the history
The "if" fields do not need to use expression syntax (`${{ }}`), and
some conditionals will be easier to read if we omit that.

<!--
Please remember to:

1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and
   PR title (https://www.conventionalcommits.org/)
2. Tag any related or fixed issues ("Issue #123", "Closes #420")
3. Sign the Google CLA if you haven't (https://cla.developers.google.com)

You may delete this comment from the PR description.
-->
  • Loading branch information
joeyparrish committed Mar 21, 2022
1 parent b4582fd commit 218d05b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 218d05b

Please sign in to comment.