Skip to content

Commit 56f04a5

Browse files
authored
Merge pull request #1 from stanleymw/main
Fix folia builds
2 parents 5e334f5 + e82e6ba commit 56f04a5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/folia.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,18 @@ jobs:
2525
# Steps represent a sequence of tasks that will be executed as part of the job
2626
steps:
2727
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-java@v4
30+
with:
31+
distribution: 'temurin'
32+
java-version: '21'
2933

3034
# Runs a set of commands using the runners shell
3135
- name: 'Build Folia .jar'
3236
run: |
33-
sudo apt update
34-
sudo apt install openjdk-19-jre-headless
3537
sh build.sh
3638
37-
- uses: actions/upload-artifact@v3
39+
- uses: actions/upload-artifact@v4
3840
with:
3941
name: FoliaToGo
4042
path: Folia/build/libs/*.jar

0 commit comments

Comments
 (0)