diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index eafec36..ac9ad6d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -5,13 +5,11 @@ jobs: Explore-Gitea-Actions: runs-on: ubuntu-22.04 steps: - - run: echo "🎉 The job was automatically triggered by a push event." - - run: echo "💡 The gitea-runner-example repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: Prepare packages run: | - apt update - apt -y install openjdk-17-jdk git + wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add - + add-apt-repository 'deb https://apt.corretto.aws stable main' + apt-get update; apt-get install -y java-16-amazon-corretto-jdk - name: Setup git run: | git config --global user.name "Radim Lipovčan" @@ -20,7 +18,10 @@ jobs: run: | git clone https://git.lipovcan.cz/Upstream/Folia.git cd Folia - ./gradlew applyPatches - ./gradlew createReobfBundlerJar - ls build/libs -lah + - name: Build | applyPatches + run: ./gradlew applyPatches + - name: Build | createJar + run: ./gradlew createReobfBundlerJar + - name: Build | ls + run: ls build/libs -lah - run: echo "🍏 This job's status is complete." \ No newline at end of file