diff --git a/.github/workflows/folia.yml b/.github/workflows/folia.yml index 1c601a8..130d982 100644 --- a/.github/workflows/folia.yml +++ b/.github/workflows/folia.yml @@ -25,16 +25,18 @@ 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-19-jre-headless sh build.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: FoliaToGo path: Folia/build/libs/*.jar