gitea
This commit is contained in:
@@ -21,17 +21,9 @@ jobs:
|
||||
- name: Ensure Gradle wrapper exists
|
||||
run: |
|
||||
if [ ! -f "./gradlew" ]; then
|
||||
echo "gradlew not found, generating wrapper..."
|
||||
|
||||
# Install Gradle temporarily
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gradle
|
||||
|
||||
# Generate wrapper (uses project’s build.gradle)
|
||||
gradle wrapper
|
||||
|
||||
else
|
||||
echo "gradlew already exists"
|
||||
echo "ERROR: gradlew not found in repository!"
|
||||
echo "Please run 'gradle wrapper' locally and push the files."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Make gradlew executable
|
||||
|
||||
Reference in New Issue
Block a user