Fix adding pending voter share on V11 calculations #1509
This file contains hidden or 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: Smart Node Build | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - master | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: sudo apt update && sudo apt install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross g++-aarch64-linux-gnu | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.25.1 | |
| - run: make NO_DOCKER=true release | |
| docker-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Get Version | |
| id: get_version | |
| run: echo "sn_version=v$(cat shared/version.txt)" >> $GITHUB_OUTPUT | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/bake-action@v6 | |
| env: | |
| VERSION: ${{steps.get_version.outputs.sn_version}} | |
| with: | |
| push: false | |
| files: docker/daemon-bake.hcl | |
| targets: smartnode | |
| set: smartnode.platform=linux/amd64 |