Aktualizovat „.gitea/workflows/build.yml“
Explore-Gitea-Actions Details

This commit is contained in:
Radim Lipovčan 2023-04-01 20:31:03 +02:00
parent 897c8d34f7
commit 0f68285247
1 changed files with 9 additions and 8 deletions

View File

@ -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."