From ead031ac444cc6ff6da31bf1f0062572b24e6ef0 Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Wed, 3 Sep 2025 19:44:30 +0200 Subject: [PATCH] FIX: Changed workflow (parallel execution of version check and build). New test --- .gitea/workflows/build.yaml | 10 +++++----- zabbix-apk-builder/APKBUILD | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cf86ef9..3c7b6cc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -56,7 +56,7 @@ jobs: fi update-version: - needs: check-version + needs: [check-version] if: needs.check-version.outputs.should_build == 'true' && needs.check-version.outputs.current_version != needs.check-version.outputs.latest_version runs-on: ubuntu-latest @@ -88,11 +88,11 @@ jobs: git config --local user.email "action@gitea.com" git config --local user.name "Gitea Action" git add zabbix-apk-builder/APKBUILD - git commit -m "Update Zabbix to version $LATEST_VERSION" || exit 0 + git commit -m "CHANGE: Update Zabbix to version $LATEST_VERSION" || exit 0 git push build-packages: - needs: [check-version] + needs: [update-version] if: needs.check-version.outputs.should_build == 'true' runs-on: ubuntu-latest @@ -100,7 +100,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ gitea.ref }} + ref: ${{ gitea.head_ref }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -131,7 +131,7 @@ jobs: retention-days: 30 deploy-test: - needs: [check-version, build-packages] + needs: [build-packages] if: needs.check-version.outputs.should_build == 'true' && gitea.ref == 'refs/heads/test' runs-on: ubuntu-latest diff --git a/zabbix-apk-builder/APKBUILD b/zabbix-apk-builder/APKBUILD index 4d15e6b..515c91a 100644 --- a/zabbix-apk-builder/APKBUILD +++ b/zabbix-apk-builder/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Maksym Buz # Maintainer: Maksym Buz pkgname=zabbix -pkgver=7.4.2 +pkgver=7.4.1 pkgrel=0 pkgdesc="Enterprise-class open source distributed monitoring solution" url="https://www.zabbix.com/"