Merge pull request #2306 from PlatONnetwork/feature/bump-version-to-1… #663
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: build | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: '**' | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.22' | |
| id: go | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Get dependencies | |
| run: bash ./build/build_deps.sh | |
| - name: make all | |
| run: go mod tidy && make all | |
| - name: Upload platon | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: platon | |
| path: build/bin/platon | |
| - name: Upload platonkey | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: keytool | |
| path: build/bin/platonkey | |
| - name: Upload ctool | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: build/bin/ctool |