Update blockchain.yml #3
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: Build Blockchain | |
on: | |
push: | |
branches: | |
- release/blockchain/* | |
- workflow | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go environment | |
uses: actions/setup-go@v5.0.2 | |
- run: sudo apt-get install libmagickwand-dev | |
- run: pkg-config --cflags --libs MagickWand | |
- run: wget https://github.com/iconLake/ignite-cli/releases/download/v0.27.3/ignite_0.27.3_linux_amd64.tar.gz | |
- run: mkdir ./ignite_0.27.3_linux_amd64 && tar -xzvf ignite_0.27.3_linux_amd64.tar.gz -C ./ignite_0.27.3_linux_amd64 | |
- run: sudo mv ./ignite_0.27.3_linux_amd64/ignite /usr/local/bin/ && sudo chmod +x /usr/local/bin/ignite | |
- run: cd ./blockchain && ignite chain build --release --check-dependencies | |
- name: Upload iconlaked | |
uses: actions/upload-artifact@v4 | |
with: | |
name: iconlaked | |
path: ./blockchain/release | |
overwrite: true | |