Change fork times for Coston and Coston2 networks #40
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: binaries | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| tags: | |
| env: | |
| go_version: 1.21.8 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: ${{ env.go_version }} | |
| - run: echo "IMAGE_TAG=dev" >> $GITHUB_ENV | |
| if: ${{ github.ref_name }} == 'main' | |
| - run: echo "IMAGE_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| - run: sudo apt-get update -y && sudo apt-get install -y rsync | |
| - name: build | |
| id: build | |
| env: | |
| GOPATH: ${{ github.workspace }}/go | |
| run: | | |
| cd avalanchego | |
| ./scripts/build.sh | |
| - name: Archive production artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: dist-bin | |
| path: | | |
| avalanchego/build |