-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add new function to balances precompile * fix consesus data provider * fix babe consensus * fix block import * cleanup * allow insttanteous sltos * cleanup * remove auto-insert-keys for manual seal * cleanup * fix manual seal * fmt * add new action
- Loading branch information
Showing
12 changed files
with
156 additions
and
173 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Publish Binary | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
name: Publish binaries | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: ./.github/actions/free-disk-space | ||
- name: Install toolchain | ||
id: toolchain | ||
uses: actions-rs/toolchain@master | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
target: wasm32-unknown-unknown | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
|
||
- name: Install Protobuf | ||
run: sudo apt-get install protobuf-compiler | ||
|
||
- name: Build binary | ||
run: cargo build --release -p tangle --locked --features testnet,txpool,manual-seal | ||
|
||
- name: Calculate SHA256 | ||
run: sha256sum target/release/tangle > target/release/tangle.sha256sum | ||
|
||
- name: Upload manual-seal binary to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: target/release/tangle | ||
asset_name: tangle-testnet-manual-seal-linux-amd64 | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
|
||
- name: Uplaod SHA256 of the binary | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: target/release/tangle.sha256sum | ||
asset_name: tangle-testnet-manual-seal-linux-amd64.sha256sum | ||
tag: ${{ github.ref }} | ||
overwrite: true |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.