Open anthonysena opened 5 months ago
Thanks for figuring this out Anthony!
The old block only had an effect on MacOS, but your new block specifies the Java version for all operating systems. Is that intentional?
It was unintentional and actually caused me some problems. So the update should read:
- name: Setup Java
if: runner.os == 'macOS'
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '8'
I'm not sure if this is the right place to log this but wanted to capture it somewhere since it was giving me trouble when attempting to test CohortGenerator across all of the DB platforms and OS combos. When running the Snowflake tests on MacOS I was getting the following error:
When I reviewed the failure, I noted that by default GitHub Actions was using Java 21 which lead me to this article: https://community.snowflake.com/s/article/JDBC-Driver-Compatibility-Issue-With-JDK-16-and-Later. I tried to set the JDK options as described with no luck.
I wound up replacing this block of the .github/workflows/R_CMD_check_Hades.yaml from:
to:
which then resolved the issue.