chore: CI split dev/prod workflows, archive old plans, new plan docs
NexusGuard CI/CD / server-core-test (push) Failing after 33s
NexusGuard CI/CD / server-core-build (push) Has been skipped
NexusGuard CI/CD / device-agent-test (push) Failing after 35s
NexusGuard CI/CD / device-agent-cross-build (amd64, linux) (push) Has been skipped
NexusGuard CI/CD / device-agent-cross-build (amd64, windows) (push) Has been skipped
NexusGuard CI/CD / device-agent-cross-build (arm64, linux) (push) Has been skipped
NexusGuard CI/CD / dashboard-test (push) Failing after 30s
NexusGuard CI/CD / dashboard-dist (push) Has been skipped
NexusGuard CI/CD / release (push) Has been skipped

This commit is contained in:
datadunia
2026-05-29 08:01:44 +07:00
parent 15b09c8408
commit 6481a13caf
14 changed files with 1919 additions and 48 deletions
+6 -33
View File
@@ -2,10 +2,9 @@ name: NexusGuard CI/CD
on:
push:
branches: [main]
tags: ['v*', 'dev-*']
pull_request:
branches: [main]
tags:
- 'v*'
- 'dev-*'
jobs:
# ──────────────────────────────────────────────
@@ -149,36 +148,10 @@ jobs:
release:
runs-on: ubuntu-latest
needs: [server-core-build, device-agent-cross-build, dashboard-dist]
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts/
- name: Prepare release assets
run: |
mkdir -p release/
# Device agent binaries
cp artifacts/nexus-device-agent-*/nexus-device-agent-* release/ 2>/dev/null || true
# Server core binary
cp artifacts/server-core-linux-amd64/server-core release/nexus-server-core-linux-amd64 || true
chmod +x release/nexus-server-core-linux-amd64
# Dashboard dist (zip)
cd artifacts/dashboard-ui-dist && zip -r ../../release/nexusguard-dashboard-ui.zip . && cd ../../..
# Checksums
cd release && sha256sum * > checksums-sha256.txt
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
release/*
- name: Echo release step
run: echo "Release step for Gitea"