Create CI workflow for ledger exporter release #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LedgerExporter | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
ledger-exporter: | |
name: Build and test Ledger Exporter image | |
runs-on: ubuntu-latest | |
env: | |
STELLAR_CORE_VERSION: 21.0.0-1872.c6f474133.focal | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# For pull requests, build and test the PR head not a merge of the PR with the destination. | |
ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
- name: Build Ledger Exporter docker | |
run: make -C exp/services/ledgerexporter docker-build | |
- name: Run Ledger Exporter test | |
run: make -C exp/services/ledgerexporter docker-test | |