93c1835cd6
* test: try with shared actions * test: fix env * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: fix path * test: create action for capsule build * test: create action for capsule build * test: create action for capsule build * test: create action for capsule build * fix: fix * fix: fix * fix: fix * fix: fix * chore: create action for vegawallet setup * chore: create action for vegawallet setup * chore: fix * chore: fix * chore: fix * chore: fix * fix: fix * fix: fix * fix: fix * fix: fix * fix: fix * fix: fix * fix: fix * fix: fix * fix: fix * fix: fix * chore: apply changes to all workflows * chore: apply changes to all workflows
31 lines
781 B
YAML
31 lines
781 B
YAML
inputs:
|
|
github-token:
|
|
description: 'github token'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Checkout capsule
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: vegaprotocol/vegacapsule
|
|
ref: main
|
|
token: ${{ inputs.github-token }}
|
|
path: './capsule'
|
|
|
|
- name: Build capsule
|
|
run: go install
|
|
shell: bash
|
|
working-directory: capsule
|
|
|
|
- name: Login to docker
|
|
shell: bash
|
|
run: echo -n ${{ inputs.github-token }} | docker login https://ghcr.io -u vega-ci-bot --password-stdin
|
|
|
|
- name: Start nomad
|
|
shell: bash
|
|
run: vegacapsule nomad &
|
|
|
|
- name: Bootstrap network
|
|
shell: bash
|
|
run: vegacapsule network bootstrap --config-path=./frontend-monorepo/vegacapsule/config.hcl --force
|