Skip to content

Commit

Permalink
💚 Doesnt seem to like multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed Sep 11, 2020
1 parent dc1fb64 commit 1847b11
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ jobs:
beta:
runs-on: ubuntu-latest
needs: build
if: |
contains(needs.build.outputs.version, 'beta') &&
(startsWith(github.event.head_commit.message, ':bookmark:') || startsWith(github.event.head_commit.message, ':green_heart:'))
if: contains(needs.build.outputs.version, 'beta') && (startsWith(github.event.head_commit.message, ':bookmark:') || startsWith(github.event.head_commit.message, ':green_heart:'))
steps:
- name: Checkout
uses: actions/checkout@v1
Expand All @@ -65,9 +63,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: build
if: |
"!contains(needs.build.outputs.version, 'beta') &&
(startsWith(github.event.head_commit.message, ':bookmark:') || startsWith(github.event.head_commit.message, ':green_heart:'))"
if: "!contains(needs.build.outputs.version, 'beta') && (startsWith(github.event.head_commit.message, ':bookmark:') || startsWith(github.event.head_commit.message, ':green_heart:'))"
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down

0 comments on commit 1847b11

Please sign in to comment.