PaperMC-Folio-Build/.gitea/workflows/build.yml

24 lines
963 B
YAML

name: Gitea Actions Demo
run-name: Testing out Gitea Actions 🚀
on: [push]
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: Setup git
run: |
git config --global user.name "Radim Lipovčan"
git config --global user.email "radim@lipovcan.cz"
- name: Prepare packages
run: |
apt update
apt -y install openjdk-17-jdk git
git clone https://git.lipovcan.cz/Upstream/Folia.git
cd Folia
./gradlew applyPatches
./gradlew createReobfBundlerJar
ls build/libs -lah
- run: echo "🍏 This job's status is complete."