From 2682dde609cb15777557d8f8d40f67fe7aa21240 Mon Sep 17 00:00:00 2001 From: ShopForge Course Date: Thu, 17 Sep 2026 12:18:32 +0000 Subject: [PATCH] =?UTF-8?q?CI:=20checkout=20action=20ki=20jagah=20git=20cl?= =?UTF-8?q?one=20=E2=80=94=20maven=20image=20me=20node=20nahi=20hai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e89a5dd..3f07a47 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -5,11 +5,13 @@ jobs: build: runs-on: ubuntu-latest # Runner ke paas sirf do label hain (ubuntu-latest, node-22) — Java ka koi nahi. - # Isliye job ko Maven ke apne image ke andar chalate hain. Build ka environment - # pinned ho jaata hai: jo yahan chala, wahi laptop pe chalega. + # Isliye job Maven ke apne image me chalta hai: build ka environment pinned. container: image: maven:3.9-eclipse-temurin-21 steps: - - uses: actions/checkout@v4 + # actions/checkout NAHI — wo ek JavaScript action hai aur use container ke andar + # `node` chahiye, jo maven image me nahi hai. git se clone karna seedha aur saaf hai. + - name: Code laao + run: git clone --depth 1 http://gitea:3000/abhishek/shopforge.git . - name: Build aur test run: mvn -B clean verify