updated pipeline
All checks were successful
Go / build (pull_request) Successful in 21s
Go / release (pull_request) Has been skipped

This commit is contained in:
Darius klein 2025-11-15 23:12:16 +01:00
parent 033b36d1d1
commit 26e6b08371

View File

@ -41,3 +41,26 @@ jobs:
with: with:
name: wazuh-notifier-go-v2-binary name: wazuh-notifier-go-v2-binary
path: wazuh-notify-go-v2/wazuh-notifier-go-v2 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