This commit is contained in:
@@ -16,15 +16,27 @@ jobs:
|
||||
build-and-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository with submodules
|
||||
- name: Clone main repository
|
||||
run: |
|
||||
git config --global --remove-section http || true
|
||||
git config --global --unset-all core.askPass || true
|
||||
TOKEN="${{ secrets.BUILD_TOKEN }}"
|
||||
git clone --recurse-submodules \
|
||||
-c credential.helper="" \
|
||||
git clone -c credential.helper="" \
|
||||
https://token:$TOKEN@git.datadunia.com/nexusguard/Nexus-Guard-Suite.git .
|
||||
|
||||
- name: Clone submodules
|
||||
run: |
|
||||
TOKEN="${{ secrets.BUILD_TOKEN }}"
|
||||
# Server Core
|
||||
git clone -c credential.helper="" \
|
||||
https://token:$TOKEN@git.datadunia.com/nexusguard/nexus-server-core.git apps/server-core
|
||||
# Device Agent
|
||||
git clone -c credential.helper="" \
|
||||
https://token:$TOKEN@git.datadunia.com/nexusguard/nexus-device-agent.git apps/device-agent
|
||||
# Dashboard UI
|
||||
git clone -c credential.helper="" \
|
||||
https://token:$TOKEN@git.datadunia.com/nexusguard/nexus-dashboard-ui.git apps/dashboard-ui
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user