Skip to content

Commit

Permalink
Troubleshooting release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne0nd0g committed Nov 4, 2023
1 parent 2fc6461 commit 7087c85
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,11 @@ on:
tags:
- 'v*.*.*'



jobs:
release:
name: 'Release Job'
runs-on: ubuntu-latest
steps:
- name: debug
id: debug
run: |
pwd
echo $HOME
- name: Checkout Merlin
id: checkout_merlin
uses: actions/checkout@v4
Expand All @@ -30,9 +22,7 @@ jobs:
- name: Checkout Merlin-Agent
id: checkout_merlin_agent
uses: actions/checkout@v4
with:
repository: 'Ne0nd0g/merlin-agent'
run: git clone https://github.com/Ne0nd0g/merlin-agent.git /home/runner/work/merlin-agent

- name: debug3
id: debug3
Expand All @@ -46,14 +36,14 @@ jobs:
uses: actions/checkout@v4
with:
repository: 'Ne0nd0g/merlin-agent-dll'
path: 'merlin-agent-dll'
path: '/home/runner/work/merlin-agent-dll'

- name: Checkout Merlin CLI
id: checkout_merlin_cli
uses: actions/checkout@v4
with:
repository: 'Ne0nd0g/merlin-cli'
path: 'merlin-cli'
path: '/home/runner/work/merlin-cli'

- name: Set up Go
id: setup_go
Expand All @@ -73,38 +63,38 @@ jobs:

- name: Build Merlin Agents
id: build_agents
working-directory: /home/runner/work/merlin/merlin-agent
working-directory: /home/runner/work/merlin-agent
run: |
pwd
make distro
- name: Build Merlin Agent DLL
id: build_agent_dll
working-directory: /home/runner/work/merlin/merlin-agent-dll
working-directory: /home/runner/work/merlin-agent-dll
run: make default

- name: Move Agents
id: move_agents
working-directory: /merlin
working-directory: /home/runner/work/merlin/merlin
run: |
mkdir -p data/bin
cp /merlin-agent/merlinAgent-* /merlin/data/bin
cp /merlin-agent-dll/merlinAgent.dll /merlin/data/bin
cp /home/runner/work/merlin-agent/merlinAgent-* ./data/bin
cp /home/runner/work/merlin-agent-dll/merlinAgent.dll ./data/bin
- name: Build Merlin CLI
id: build_cli
working-directory: /merlin-cli
working-directory: /homer/runner/work/merlin-cli
run: make all

- name: Move Agents
id: move_cli
working-directory: /merlin
working-directory: /home/runner/work/merlin/merlin
run: |
cp /merlin-CLI/merlinCLI-* /merlin/data/bin
cp /home/runner/work/merlin-CLI/merlinCLI-* ./data/bin
- name: Build Merlin Server
id: build_server
working-directory: /merlin
working-directory: /home/runner/work/merlin/merlin
run: make distro

- name: Package Release
Expand Down

0 comments on commit 7087c85

Please sign in to comment.