Store Role key while creating profile (#401) #18
Workflow file for this run
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: Publish Binary | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Publish binaries | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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 | |
- name: Upload regular binary to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: target/release/tangle | |
asset_name: tangle-linux-amd64 | |
tag: ${{ github.ref }} | |
overwrite: true | |
- name: Build binary with txpool | |
run: cargo build --release -p tangle --locked --features txpool | |
- name: Upload txpool binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: target/release/tangle | |
asset_name: tangle-txpool-linux-amd64 | |
tag: ${{ github.ref }} | |
overwrite: true |