From dace9cadbc8067d0b9bd6472ddc306b241b8017c Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Fri, 3 Jan 2025 16:29:57 +0300 Subject: [PATCH] update --- .gitea/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a24eb40..49492f1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI/CD Pipeline +version: '1' on: push: @@ -10,6 +10,7 @@ on: jobs: build: + stage: build runs-on: r11_builder env: PUBLICATOR: ${{ secrets.PUBLICATOR }} @@ -20,7 +21,7 @@ jobs: # with: # fetch-depth: 0 - - name: git fetch + - name: Checkout code run: | git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git ${GITHUB_WORKSPACE} git checkout ${GITHUB_REF_NAME} @@ -29,12 +30,12 @@ jobs: source .env echo "SPECFILE = ${SPECFILE}" - - name: _Debug Print environment variables + - name: Debug Print environment variables run: | source .env env - - name: _Debug Current directory and files + - name: Debug os version and check exists spec run: | cat /etc/*release* echo "check specfile" && [ -f ${SPECFILE} ] || exit 1