feature/setup-workflow-pipeline: add lombok, add gitea workflow #2

Merged
chimeudeonwop merged 102 commits from feature/setup-workflow-pipeline into main 2025-10-31 16:46:56 +00:00
13 changed files with 514 additions and 276 deletions
Showing only changes of commit 7adaab5733 - Show all commits

View File

@ -88,6 +88,29 @@ jobs:
image: eclipse-temurin:21-jdk
steps:
- name: Detect act environment
id: detect-act
run: |
if command -v act >/dev/null 2>&1; then
echo "Running inside act"
echo "ACT=true" >> $GITHUB_ENV
else
echo "ACT=false" >> $GITHUB_ENV
fi
- name: Install dependencies (for both GitHub and act)
run: |
if [ "$ACT" = "true" ]; then
echo "Installing dependencies for act..."
if ! command -v sudo >/dev/null 2>&1; then
apt-get update && apt-get install -y sudo
fi
sudo apt-get update && sudo apt-get install -y curl build-essential
else
echo "Installing dependencies for GitHub Actions..."
sudo apt-get update -qq
sudo apt-get install -y curl build-essential
fi
# Checkout repository
- name: Checkout repository manually
env: