V3 - Bumps @action/cache to 4.0.3 (#790)

* actions-cache upgrade to 4.0.3 on node 16

* npm audit fix

* macos-latest to macos-13

* macos-latest to macos-13

* ubuntu-latest to ubuntu-22-04

* Step to install sbt and dragonwell fix for 11

* dragonwell fix

* dragonwell fix

* dragonwell check failure fix

* dragonwell check failures-fix

* check failures fix

* check failures fix

* check failure fix

* fix check-failures for dragonwell

* macos-latest to macos-13

* ubuntu-latest to ubuntu-22.04
This commit is contained in:
aparnajyothi-y 2025-04-15 09:00:12 +05:30 committed by GitHub
parent 0ab4596768
commit dda1638bc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 66250 additions and 5247 deletions

View file

@ -121,7 +121,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-13, windows-latest, ubuntu-22.04]
steps:
- name: Checkout
uses: actions/checkout@v3
@ -132,11 +132,16 @@ jobs:
distribution: 'adopt'
java-version: '11'
cache: sbt
- name: Setup SBT
if: matrix.os == 'macos-13'
run: |
echo ""Installing SBT...""
brew install sbt
- name: Create files to cache
run: sbt update
- name: Check files to cache on macos-latest
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
run: |
if [ ! -d ~/Library/Caches/Coursier ]; then
echo "::error::The ~/Library/Caches/Coursier directory does not exist unexpectedly"