Skip to content

Commit b724b03

Browse files
bkonturclaude
andcommitted
Add polkadot-bulletin-chain binary to release workflow
Build the node binary with production profile and include it in the GitHub release assets alongside the runtime WASMs. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 4b810a7 commit b724b03

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,30 @@ jobs:
4747
${{ steps.srtool_build.outputs.wasm_compressed }}
4848
${{ matrix.name }}_srtool_output.json
4949
50+
build-node:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v4
55+
56+
- name: Install Rust toolchain
57+
uses: dtolnay/rust-action@stable
58+
59+
- name: Install Protobuf
60+
run: sudo apt-get install -y protobuf-compiler
61+
62+
- name: Build polkadot-bulletin-chain binary
63+
run: cargo build --profile production -p polkadot-bulletin-chain
64+
65+
- name: Upload polkadot-bulletin-chain binary
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: polkadot-bulletin-chain
69+
path: target/production/polkadot-bulletin-chain
70+
5071
publish-release:
5172
runs-on: ubuntu-latest
52-
needs: build-runtimes
73+
needs: [build-runtimes, build-node]
5374
steps:
5475
- name: Checkout
5576
uses: actions/checkout@v4
@@ -63,6 +84,7 @@ jobs:
6384
run: |
6485
mkdir -p release-assets
6586
find artifacts -name "*.wasm" -exec cp {} release-assets/ \;
87+
cp artifacts/polkadot-bulletin-chain/polkadot-bulletin-chain release-assets/
6688
ls -la release-assets/
6789
6890
- name: Add runtime info to changelog
@@ -98,5 +120,7 @@ jobs:
98120
- name: Create release
99121
uses: softprops/action-gh-release@v2
100122
with:
101-
files: release-assets/*.wasm
123+
files: |
124+
release-assets/*.wasm
125+
release-assets/polkadot-bulletin-chain
102126
body_path: RELEASE_NOTES.md

0 commit comments

Comments
 (0)