Update blockchain.yml #7
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 | |
- name: Install Magick | |
run: | | |
sudo apt-get install libmagickwand-dev | |
pkg-config --cflags --libs MagickWand | |
- name: Install ignite | |
run: | | |
wget -q https://github.com/iconLake/ignite-cli/releases/download/v0.27.3/ignite_0.27.3_linux_amd64.tar.gz | |
mkdir ./ignite_0.27.3_linux_amd64 | |
tar -xzvf ignite_0.27.3_linux_amd64.tar.gz -C ./ignite_0.27.3_linux_amd64 | |
sudo mv ./ignite_0.27.3_linux_amd64/ignite /usr/local/bin/ | |
sudo chmod +x /usr/local/bin/ignite | |
- name: Build iconlaked | |
run: | | |
cd ./blockchain | |
ignite version | |
ignite chain build --release --check-dependencies --verbose | |
- name: Upload iconlaked | |
uses: actions/upload-artifact@v4 | |
with: | |
name: iconlaked | |
path: ./blockchain/release | |
overwrite: true | |