diff --git a/.github/workflows/folia.yml b/.github/workflows/folia.yml index ce87259..4d98b7f 100644 --- a/.github/workflows/folia.yml +++ b/.github/workflows/folia.yml @@ -25,13 +25,15 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' # Runs a set of commands using the runners shell - name: 'Build Folia .jar' run: | - sudo apt update - sudo apt install openjdk-21-jre-headless sh build.sh - uses: actions/upload-artifact@v3