From 58fe9df6c15f7910d2b4a6bc2b5561b20502fc6e Mon Sep 17 00:00:00 2001 From: ArmandMeppa Date: Wed, 16 Oct 2024 09:01:46 +0100 Subject: [PATCH] fix: update ci pipelines dependencies --- .github/workflows/build-macos.yaml | 5 +++++ .github/workflows/build-windows.yaml | 7 ++++++- .github/workflows/{build.yaml => release.yaml} | 8 +++++--- README.md | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) rename .github/workflows/{build.yaml => release.yaml} (90%) diff --git a/.github/workflows/build-macos.yaml b/.github/workflows/build-macos.yaml index a57dcc7..a6e7931 100644 --- a/.github/workflows/build-macos.yaml +++ b/.github/workflows/build-macos.yaml @@ -1,6 +1,11 @@ name: Build Binaries for macOS (Silicon ARM64) on: + workflow_run: + workflows: ["Build Binaries for Linux (amd64, arm64)"] + branches: [main] + types: + - completed push: branches: - main diff --git a/.github/workflows/build-windows.yaml b/.github/workflows/build-windows.yaml index 66b350e..966b0f8 100644 --- a/.github/workflows/build-windows.yaml +++ b/.github/workflows/build-windows.yaml @@ -1,6 +1,11 @@ -name: Build Binaries for Windows (Silicon AMD64) +name: Build Binaries for Windows (AMD64) on: + workflow_run: + workflows: ["Build Binaries for macOS (Silicon ARM64)"] + branches: [main] + types: + - completed push: branches: - main diff --git a/.github/workflows/build.yaml b/.github/workflows/release.yaml similarity index 90% rename from .github/workflows/build.yaml rename to .github/workflows/release.yaml index 7f7a293..f1cf107 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/release.yaml @@ -1,12 +1,14 @@ name: Build Release on: + workflow_run: + workflows: ["Build Binaries for Windows (AMD64)"] + branches: [main] + types: + - completed push: - branches: - - main tags: - 'v*' - pull_request: env: GO_VERSION: 1.22 diff --git a/README.md b/README.md index 2faf9b0..63f6206 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Wazuh Agent Status -[![Release Client](https://github.com/ADORSYS-GIS/wazuh-agent-status/actions/workflows/build.yaml/badge.svg)](https://github.com/ADORSYS-GIS/wazuh-agent-status/actions/workflows/build.yaml) +[![Release Client](https://github.com/ADORSYS-GIS/wazuh-agent-status/actions/workflows/release.yaml/badge.svg)](https://github.com/ADORSYS-GIS/wazuh-agent-status/actions/workflows/release.yaml) **Wazuh Agent Status** is an application designed to monitor the state of Wazuh agents. This tool provides real-time insights into the operational status of agents, ensuring they are functioning correctly and efficiently.