From 26e6b08371a9fef8470ebc43147972c729d81b6c Mon Sep 17 00:00:00 2001 From: Darius klein Date: Sat, 15 Nov 2025 23:12:16 +0100 Subject: [PATCH] updated pipeline --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28065b2..7b7a6bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,3 +41,26 @@ jobs: with: name: wazuh-notifier-go-v2-binary path: wazuh-notify-go-v2/wazuh-notifier-go-v2 + + release: + runs-on: ubuntu-latest + needs: build + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + + steps: + - name: Download all build artifacts + uses: actions/download-artifact@v3 + with: + path: artifacts + + - name: Release wazuh-notify-go artifact (Gitea Upload) + uses: christopherhx/gitea-upload-artifact@v4 + with: + name: wazuh-notifier-go-binary + path: artifacts/wazuh-notifier-go-binary-internal/wazuh-notifier-go + + - name: Release wazuh-notify-go-v2 artifact (Gitea Upload) + uses: christopherhx/gitea-upload-artifact@v4 + with: + name: wazuh-notifier-go-v2-binary + path: artifacts/wazuh-notifier-go-v2-binary-internal/wazuh-notifier-go-v2