Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 20 additions & 30 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,21 +205,16 @@ jobs:
- jdkconf: JDK 17
jdkver: "17"
steps:
- uses: actions/checkout@v4
- name: Install Homebrew
- name: Checkout
uses: actions/checkout@v4

- name: Install Bash with brew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval $(/usr/local/bin/brew shellenv)' >> $HOME/.zprofile
eval $(/usr/local/bin/brew shellenv)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dafuq I had just read?

- name: Install Bash with Homebrew
run: brew install bash

- name: Update Shell Configuration
run: echo 'export PATH="/usr/local/bin:$PATH"' >> $HOME/.zprofile && exec -l $SHELL

- name: Verify Bash Version
run: /opt/homebrew/Cellar/bash/5.2.37/bin/bash --version
brew install bash
echo "/usr/local/bin/bash" >> $GITHUB_PATH

- name: Check Bash version
run: bash --version

- name: Set up JDK
uses: actions/setup-java@v4
Expand All @@ -229,7 +224,7 @@ jobs:
- name: Run
run: |
export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} JREJDK="jre" WORKSPACE=/Users/runner/workspace JAVA_TO_TEST="${JAVA_HOME}/bin/java" TEST_JDK_HOME="${JAVA_HOME}"
/opt/homebrew/Cellar/bash/5.2.37/bin/bash testHeadlessComponents.sh
bash testHeadlessComponents.sh
- name: Pack results
if: ${{ always() }}
run: |
Expand Down Expand Up @@ -261,22 +256,17 @@ jobs:
- jdkconf: JDK 17
jdkver: "17"
steps:
- uses: actions/checkout@v4
- name: Install Homebrew
- name: Checkout
uses: actions/checkout@v4

- name: Install Bash with brew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval $(/usr/local/bin/brew shellenv)' >> $HOME/.zprofile
eval $(/usr/local/bin/brew shellenv)

- name: Install Bash with Homebrew
run: brew install bash

- name: Update Shell Configuration
run: echo 'export PATH="/usr/local/bin:$PATH"' >> $HOME/.zprofile && exec -l $SHELL

- name: Verify Bash Version
run: /opt/homebrew/Cellar/bash/5.2.37/bin/bash --version
brew install bash
echo "/usr/local/bin/bash" >> $GITHUB_PATH

- name: Check Bash version
run: bash --version

- name: Set up JDK
uses: actions/setup-java@v4
with:
Expand All @@ -285,7 +275,7 @@ jobs:
- name: Run
run: |
export OJDK_VERSION_NUMBER=${{ matrix.jdkver || env.jdkver_latest }} JREJDK="jdk" WORKSPACE=/Users/runner/workspace JAVA_TO_TEST="${JAVA_HOME}/bin/java" TEST_JDK_HOME="${JAVA_HOME}"
/opt/homebrew/Cellar/bash/5.2.37/bin/bash testHeadlessComponents.sh
bash testHeadlessComponents.sh
- name: Pack results
if: ${{ always() }}
run: |
Expand Down
Loading