Skip to content

Commit

Permalink
chore(ci): Add CI to run generate-genesis-template after each build (
Browse files Browse the repository at this point in the history
…#390)

Co-authored-by: anhductn2001 <[email protected]>
  • Loading branch information
ThanhNhann and anhductn2001 authored Dec 13, 2024
1 parent 70dddc2 commit 9687bbc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/generate_genesis_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Generate Genesis Template
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
name: Generate Genesis Template
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.1"

- name: Install Dasel
run: |
curl -sSLf https://github.com/TomWright/dasel/releases/latest/download/dasel_linux_amd64 -o /usr/local/bin/dasel
chmod +x /usr/local/bin/dasel
- name: Generate genesis template mainnet
run: make generate-genesis env=mainnet
env:
BECH32_PREFIX: ethm

- name: Generate genesis template testnet
run: make generate-genesis env=testnet
env:
BECH32_PREFIX: ethm

0 comments on commit 9687bbc

Please sign in to comment.