Skip to content

Commit

Permalink
Workflows: Performance: Explicitly require Bash shell
Browse files Browse the repository at this point in the history
The `run` block for the "Compare performance with current WordPress Core
and previous Gutenberg versions" job relies on a series of Bashisms, so
we should make that an explicit requirement.
  • Loading branch information
mcsf committed May 27, 2021
1 parent d233a1e commit e02137d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
if: github.event_name == 'release'
env:
PLUGIN_VERSION: ${{ github.event.release.name }}
shell: bash
run: |
IFS=. read -ra PLUGIN_VERSION_ARRAY <<< "$PLUGIN_VERSION"
CURRENT_RELEASE_BRANCH="release/${PLUGIN_VERSION_ARRAY[0]}.${PLUGIN_VERSION_ARRAY[1]}"
Expand Down

0 comments on commit e02137d

Please sign in to comment.