Aktualizovat „.gitea/workflows/build.yml“
Some checks failed
Explore-Gitea-Actions

This commit is contained in:
Radim Lipovčan 2023-04-01 20:31:03 +02:00
parent 897c8d34f7
commit 0f68285247

View File

@ -5,13 +5,11 @@ jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: 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 - name: Prepare packages
run: | run: |
apt update wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add -
apt -y install openjdk-17-jdk git 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 - name: Setup git
run: | run: |
git config --global user.name "Radim Lipovčan" git config --global user.name "Radim Lipovčan"
@ -20,7 +18,10 @@ jobs:
run: | run: |
git clone https://git.lipovcan.cz/Upstream/Folia.git git clone https://git.lipovcan.cz/Upstream/Folia.git
cd Folia cd Folia
./gradlew applyPatches - name: Build | applyPatches
./gradlew createReobfBundlerJar run: ./gradlew applyPatches
ls build/libs -lah - name: Build | createJar
run: ./gradlew createReobfBundlerJar
- name: Build | ls
run: ls build/libs -lah
- run: echo "🍏 This job's status is complete." - run: echo "🍏 This job's status is complete."