Fix block zero; load genesis file and use it for getGenesisHash
and…
#47
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: main | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup go env | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20' | |
check-latest: true | |
- name: Build cli | |
run: make compile-all | |
- name: Publish to release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
bin/darwin/amd64/faithful-cli_darwin_amd64 | |
bin/darwin/arm64/faithful-cli_darwin_arm64 | |
bin/linux/amd64/faithful-cli_linux_amd64 | |
bin/windows/amd64/faithful-cli_windows_amd64.exe |