Skip to content

Commit

Permalink
feat: build docker img and binary with txpool feature (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj authored Sep 19, 2023
1 parent 8f91271 commit 6bab5b3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- binary: tangle-standalone
features: integration-tests
image_name: tangle-standalone-integration-tests
# - binary: tangle-parachain
# features: default
# image_name: tangle-parachain
- binary: tangle-standalone
features: txpool
image_name: tangle-standalone-txpool
permissions:
contents: read
packages: write
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/publish-release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install Protobuf
run: sudo apt-get install protobuf-compiler

- name: Build
- name: Build binary
run: cargo build --release -p tangle-standalone --locked

- name: Upload binaries to release
Expand All @@ -38,4 +38,15 @@ jobs:
asset_name: tangle-standalone-linux-amd64
tag: ${{ github.ref }}
overwrite: true
body: "Tangle Standalone Binary"

- name: Build binary with txpool
run: cargo build --release -p tangle-standalone --locked --features txpool

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/tangle-standalone
asset_name: tangle-standalone-txpool-linux-amd64
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 6bab5b3

Please sign in to comment.