This commit is contained in:
@@ -16,15 +16,27 @@ jobs:
|
|||||||
build-and-release:
|
build-and-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository with submodules
|
- name: Clone main repository
|
||||||
run: |
|
run: |
|
||||||
git config --global --remove-section http || true
|
git config --global --remove-section http || true
|
||||||
git config --global --unset-all core.askPass || true
|
git config --global --unset-all core.askPass || true
|
||||||
TOKEN="${{ secrets.BUILD_TOKEN }}"
|
TOKEN="${{ secrets.BUILD_TOKEN }}"
|
||||||
git clone --recurse-submodules \
|
git clone -c credential.helper="" \
|
||||||
-c credential.helper="" \
|
|
||||||
https://token:$TOKEN@git.datadunia.com/nexusguard/Nexus-Guard-Suite.git .
|
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
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user