updated pipeline
This commit is contained in:
parent
033b36d1d1
commit
26e6b08371
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user