PaperMC-Folio-Build/.gitea/workflows/build.yml
2023-04-01 20:04:12 +02:00

26 lines
998 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: Prepare packages
run: |
apt update
apt -y install openjdk-17-jdk git
- name: Setup git
run: |
git config --global user.name "Radim Lipovčan"
git config --global user.email "radim@lipovcan.cz"
- name: Build
run: |
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."