Skip to content

Bump actions/setup-java from 4.2.2 to 4.4.0 #394

Bump actions/setup-java from 4.2.2 to 4.4.0

Bump actions/setup-java from 4.2.2 to 4.4.0 #394

Workflow file for this run

# This workflow will do a clean install of the dependencies and run tests across different versions
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-14]
java-version: [11]
ballerina-version: [2201.5.0]
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Java
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
with:
distribution: microsoft
java-version: ${{ matrix.java-version }}
- name: Install project dependencies
shell: bash
env:
BALLERINA_VERSION: ballerina-${{ matrix.ballerina-version }}-swan-lake
run: |
# Download Ballerina dist
curl -fsSL https://dist.ballerina.io/downloads/${{ matrix.ballerina-version }}/$BALLERINA_VERSION.zip --output $BALLERINA_VERSION.zip
# Unzip the zip file
unzip -q $BALLERINA_VERSION.zip
# Add Ballerina to system path
echo "$(pwd)/$BALLERINA_VERSION/bin" >> $GITHUB_PATH
- name: Verify all exercises
run: ./bin/verify-exercises