Skip to content

Commit

Permalink
Force the use of bash even on Windows for GitHub Actions
Browse files Browse the repository at this point in the history
Powershell would not support escaping newlines,
and would interpret dots as some object-oriented field accessor.
None of this nonsense, let's just use bash.
  • Loading branch information
yrodiere committed Sep 20, 2023
1 parent c0efe80 commit 7b705ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@ concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'hibernate/hibernate-search' }}

defaults:
run:
shell: bash

env:
MAVEN_ARGS: "-e -B --settings .github/mvn-settings.xml --fail-at-end"

jobs:
build:
name: ${{matrix.os.name}}
Expand Down

0 comments on commit 7b705ae

Please sign in to comment.