generated from dymensionxyz/rollapp
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Add CI to run
generate-genesis-template
after each build (…
…#390) Co-authored-by: anhductn2001 <[email protected]>
- Loading branch information
1 parent
70dddc2
commit 9687bbc
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
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 |