Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
841ce94
[stable2503] Backport #6827 (#8770)
paritytech-release-backport-bot[bot] Jun 19, 2025
ab3592b
[stable2503] Backport #8861 (#8867)
paritytech-release-backport-bot[bot] Jun 20, 2025
dfa3e3b
[stable2503] Backport #8755 (#8814)
paritytech-release-backport-bot[bot] Jun 23, 2025
ab1d31a
[stable2503] Backport #8832 (#8846)
paritytech-release-backport-bot[bot] Jun 23, 2025
4f9ef88
[stable2503] Backport #8837 (#8884)
paritytech-release-backport-bot[bot] Jun 23, 2025
03d963e
[stable2503] Backport #8345: tx/metrics: Add metrics for the RPC v2 t…
paritytech-release-backport-bot[bot] Jun 23, 2025
b3d163c
[stable2503] Backport #8834 (#8889)
paritytech-release-backport-bot[bot] Jun 23, 2025
53d0d3e
[stable2503] Backport #8948 (#8959)
paritytech-release-backport-bot[bot] Jun 24, 2025
98e78b9
[stable2503] Backport #8787 (#8913)
paritytech-release-backport-bot[bot] Jun 24, 2025
b9ac350
[stable2503] Post crates release adjustments (#8967)
EgorPopelyaev Jun 24, 2025
f42147a
[stable2503] Backport #8973 (#8978)
paritytech-release-backport-bot[bot] Jun 25, 2025
4c8549e
[stable2503] Backport #8980 (#8995)
paritytech-release-backport-bot[bot] Jun 27, 2025
aff0019
[stable2503] Post crates release adjustments (#9009)
EgorPopelyaev Jun 27, 2025
d6d983b
[stable2503] Backport #8932 (#9010)
paritytech-release-backport-bot[bot] Jun 30, 2025
41f5ddd
[stable2503] Backport #8694 (#9030)
paritytech-release-backport-bot[bot] Jun 30, 2025
5dbd146
[stable2503] Backport #9050 (#9068)
paritytech-release-backport-bot[bot] Jul 2, 2025
ac17a2e
[stable2503] Backport #9092 (#9096)
paritytech-release-backport-bot[bot] Jul 4, 2025
1c7aca2
[stable2503] Backport #9102 (#9109)
paritytech-release-backport-bot[bot] Jul 7, 2025
878bce3
[stable2503] Backport #9130 (#9130)
bkontur Jul 8, 2025
1530a88
[stable2503] Post crates.io release updates (#9138)
EgorPopelyaev Jul 9, 2025
8d2e11a
[stable2503] Backport #9139 (#9144)
paritytech-release-backport-bot[bot] Jul 9, 2025
20933bb
[stable2503] Backport #8193 (#9377)
paritytech-release-backport-bot[bot] Jul 30, 2025
536ac17
[stable2503] Backport #9094 (#9155)
paritytech-release-backport-bot[bot] Jul 30, 2025
d18fc1c
[stable2503] Backport #9137 (#9199)
paritytech-release-backport-bot[bot] Jul 30, 2025
2b8f07a
[stable2503] Backport #9179 (#9303)
paritytech-release-backport-bot[bot] Jul 30, 2025
5c41834
[stable2503] Backport #9264 (#9275)
paritytech-release-backport-bot[bot] Jul 30, 2025
a73695b
[stable2503] Backport #9281 (#9328)
paritytech-release-backport-bot[bot] Jul 30, 2025
033226e
[stable2503] Backport #9325 (#9334)
paritytech-release-backport-bot[bot] Jul 30, 2025
0731b54
[stable2503] Backport #9354 (#9374)
paritytech-release-backport-bot[bot] Jul 30, 2025
5298f0a
[stable2503] Backport #9355 (#9369)
paritytech-release-backport-bot[bot] Jul 31, 2025
a3f2b29
[stable2503] Backport #9195 (#9404)
paritytech-release-backport-bot[bot] Jul 31, 2025
913bb8b
[stable2503] Post crates release updates (#9408)
EgorPopelyaev Jul 31, 2025
21e6c1a
Bump crate versions in: cumulus/polkadot-parachain/Cargo.toml
EgorPopelyaev Jul 17, 2024
b9beb4e
Bump spec_version to 1_015_000
EgorPopelyaev Jul 17, 2024
1fda054
Apply plan
Morganamilo Jul 18, 2024
2919e99
Edit plan
Morganamilo Jul 18, 2024
f365b43
Adjust and apply plan
Morganamilo Jul 18, 2024
9044a41
Edit and apply plan
Morganamilo Jul 19, 2024
59b7d19
[stable2407 backport] runtime: make the candidate relay parent progre…
alindima Jul 26, 2024
1d6dee1
Backport #4791 (#5247)
AndreiEres Aug 9, 2024
7935447
[stable2407] Backport #5321 (#5332)
alindima Aug 13, 2024
a1d9d7f
[stable2407] backport #4937 (#5337)
alindima Aug 13, 2024
16a15d5
[stable2407] Backport PoV-reclaim fixes (#5273, #5281) (#5351)
skunert Aug 14, 2024
ac7ef8b
Move prdocs
Morganamilo Aug 14, 2024
4c0b30a
[Backport] Bump serde_json from 1.0.120 to 1.0.121 in the known_good_…
EgorPopelyaev Aug 15, 2024
edc2c3d
Move prdoc to release folder
EgorPopelyaev Aug 15, 2024
071c39b
Backport timestamp logging fix (#5459)
bkchr Aug 27, 2024
78043f9
[Backport] Add feature to allow Aura collator to use full PoV size (#…
s0me0ne-unkn0wn Aug 28, 2024
45e3e04
[Backport] Always include UnpaidExecution, not just when revenue is n…
seadanda Aug 28, 2024
969fe92
Update plan
Morganamilo Aug 29, 2024
a5deb46
[stable2407] Backport #5581 (#5603)
github-actions[bot] Sep 5, 2024
a6b564a
[stable2407] Backport #5466 (#5524)
github-actions[bot] Sep 10, 2024
93c8ae5
Backport 1.12.0: check-weight: Disable total pov size check for manda…
skunert May 27, 2024
35f4ebc
Implement `CheckMetadataHash` extension (#4274) (#4619)
bkchr May 29, 2024
4e372fd
init bifrost-polkadot-base
dnjscksdn98 Oct 19, 2023
8dad1a3
fix: add legacy transferrable balance to currency trait (#1)
dnjscksdn98 Dec 20, 2023
d451c91
feat: add a getter function to retrieve raw keystore value (#2)
dnjscksdn98 Mar 10, 2025
2d44f80
resolve conflicts
dnjscksdn98 Jun 18, 2025
64bb775
chore: pull stable2503
alstjd0921 Aug 14, 2025
ad28ff9
chore: remove deprecated getter
alstjd0921 Aug 14, 2025
342fb0f
Merge branch 'bifrost-polkadot-stable2503' into dev-bifrost-polkadot-…
alstjd0921 Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/scripts/release/build-linux-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

BIN=$1
PACKAGE=${2:-$BIN}
# must be given as feature1,feature2,feature3...
FEATURES=$3
if [ -n "$FEATURES" ]; then
FEATURES="--features ${FEATURES}"
fi

PROFILE=${PROFILE:-production}
ARTIFACTS=/artifacts/$BIN
Expand All @@ -17,7 +22,7 @@ echo "Artifacts will be copied into $ARTIFACTS"
mkdir -p "$ARTIFACTS"

git log --pretty=oneline -n 1
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE $FEATURES

echo "Artifact target: $ARTIFACTS"

Expand Down
72 changes: 65 additions & 7 deletions .github/workflows/build-publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: build
id: required
run: |
forklift cargo build --locked --profile testnet --features pyroscope,fast-runtime --bin polkadot --bin polkadot-prepare-worker --bin polkadot-execute-worker
ROCOCO_EPOCH_DURATION=10 ./polkadot/scripts/build-only-wasm.sh rococo-runtime $(pwd)/runtimes/rococo-runtime-10/
Expand Down Expand Up @@ -81,7 +82,12 @@ jobs:
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
path: artifacts.tar
retention-days: 1

- name: Stop all workflows if failed
if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/actions/workflow-stopper
with:
app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }}
app-key: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_KEY }}
#
#
#
Expand All @@ -97,6 +103,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: build
id: required
run: |
echo "___Building a binary, please refrain from using it in production since it goes with the debug assertions.___"
forklift cargo build --release --locked -p polkadot-parachain-bin --bin polkadot-parachain
Expand All @@ -115,7 +122,12 @@ jobs:
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
path: artifacts.tar
retention-days: 1

- name: Stop all workflows if failed
if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/actions/workflow-stopper
with:
app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }}
app-key: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_KEY }}
#
#
#
Expand All @@ -131,6 +143,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: build
id: required
run: |
echo "___Building a binary, please refrain from using it in production since it goes with the debug assertions.___"
forklift cargo build --release --locked -p cumulus-test-service --bin test-parachain
Expand All @@ -151,7 +164,12 @@ jobs:
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
path: artifacts.tar
retention-days: 1

- name: Stop all workflows if failed
if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/actions/workflow-stopper
with:
app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }}
app-key: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_KEY }}
#
#
#
Expand All @@ -165,6 +183,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: build
id: required
run: |
forklift cargo build --locked --profile testnet -p test-parachain-adder-collator
forklift cargo build --locked --profile testnet -p test-parachain-undying-collator
Expand All @@ -188,7 +207,12 @@ jobs:
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
path: artifacts.tar
retention-days: 1

- name: Stop all workflows if failed
if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/actions/workflow-stopper
with:
app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }}
app-key: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_KEY }}
#
#
#
Expand All @@ -202,6 +226,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: build
id: required
run: |
forklift cargo build --locked --profile testnet -p polkadot-test-malus --bin malus --bin polkadot-prepare-worker --bin polkadot-execute-worker
- name: pack artifacts
Expand All @@ -224,7 +249,12 @@ jobs:
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
path: artifacts.tar
retention-days: 1

- name: Stop all workflows if failed
if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/actions/workflow-stopper
with:
app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }}
app-key: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_KEY }}
#
#
#
Expand All @@ -238,6 +268,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: build
id: required
run: |
mkdir -p ./artifacts/substrate/
WASM_BUILD_NO_COLOR=1 forklift cargo build --locked --release -p staging-node-cli
Expand Down Expand Up @@ -265,8 +296,12 @@ jobs:
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }}
path: artifacts.tar
retention-days: 1


- name: Stop all workflows if failed
if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }}
uses: ./.github/actions/workflow-stopper
with:
app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }}
app-key: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_KEY }}
### Build zombienet test artifacts ########################

#
Expand Down Expand Up @@ -553,3 +588,26 @@ jobs:
with:
image-name: "europe-docker.pkg.dev/parity-ci-2024/temp-images/polkadot-parachain-debug"
dockerfile: "docker/dockerfiles/polkadot-parachain/polkadot-parachain-debug_unsigned_injected.Dockerfile"

confirm-required-build-jobs-passed:
runs-on: ubuntu-latest
name: All builds passed
# If any new job gets added, be sure to add it to this array
needs:
- build-linux-stable
- build-linux-stable-cumulus
- build-test-parachain
- build-test-collators
- build-malus
- build-linux-substrate
if: always() && !cancelled()
steps:
- run: |
tee resultfile <<< '${{ toJSON(needs) }}'
FAILURES=$(cat resultfile | grep '"result": "failure"' | wc -l)
if [ $FAILURES -gt 0 ]; then
echo "### At least one required job failed ❌" >> $GITHUB_STEP_SUMMARY
exit 1
else
echo '### Good job! All the required jobs passed πŸš€' >> $GITHUB_STEP_SUMMARY
fi
16 changes: 8 additions & 8 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,29 @@ jobs:
echo "PRDOC_EXTRA_ARGS=--max-bump minor" >> $GITHUB_ENV

- name: Echo Skip
if: ${{ contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
run: echo "Skipping this PR because it is labeled as R0-silent."
if: ${{ contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
run: echo "Skipping this PR because it is labeled as R0-no-crate-publish-required."

- name: Rust Cache
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
cache-on-failure: true

- name: Rust compilation prerequisites
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
run: |
rustup default $TOOLCHAIN
rustup target add wasm32-unknown-unknown --toolchain $TOOLCHAIN
rustup component add rust-src --toolchain $TOOLCHAIN

- name: Install parity-publish
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
# Set the target dir to cache the build.
run: CARGO_TARGET_DIR=./target/ cargo install [email protected] --locked -q

- name: Get original PR number
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
shell: bash
env:
PR_TITLE: ${{ github.event.pull_request.title }}
Expand All @@ -108,7 +108,7 @@ jobs:
echo "PR_NUMBER=$original_pr_number" >> $GITHUB_ENV

- name: Check semver
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
env:
PRDOC_EXTRA_ARGS: ${{ env.PRDOC_EXTRA_ARGS }}
PR: ${{ env.PR_NUMBER }}
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:

exit 1
fi

# Only enforce SemVer restrictions for backports targeting stable branches
if [[ "$BASE_BRANCH" != stable* ]]; then
echo "ℹ️ Branch '$BASE_BRANCH' is not a stable branch. Skipping SemVer backport-specific enforcements."
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/release-20_build-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
build-polkadot-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot", "polkadot-prepare-worker", "polkadot-execute-worker"]'
package: polkadot
Expand All @@ -69,7 +69,7 @@ jobs:
build-polkadot-parachain-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-parachain' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-parachain"]'
package: "polkadot-parachain-bin"
Expand All @@ -91,12 +91,13 @@ jobs:
build-polkadot-omni-node-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-omni-node' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-omni-node"]'
package: "polkadot-omni-node"
release_tag: ${{ needs.validate-inputs.outputs.release_tag }}
target: x86_64-unknown-linux-gnu
features: runtime-benchmarks
secrets:
PGP_KMS_KEY: ${{ secrets.PGP_KMS_KEY }}
PGP_KMS_HASH: ${{ secrets.PGP_KMS_HASH }}
Expand All @@ -113,7 +114,7 @@ jobs:
build-frame-omni-bencher-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'frame-omni-bencher' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["frame-omni-bencher"]'
package: "frame-omni-bencher"
Expand All @@ -135,7 +136,7 @@ jobs:
build-chain-spec-builder-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'chain-spec-builder' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["chain-spec-builder"]'
package: staging-chain-spec-builder
Expand All @@ -157,7 +158,7 @@ jobs:
build-polkadot-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot", "polkadot-prepare-worker", "polkadot-execute-worker"]'
package: polkadot
Expand All @@ -179,7 +180,7 @@ jobs:
build-polkadot-parachain-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-parachain' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-parachain"]'
package: polkadot-parachain-bin
Expand All @@ -201,12 +202,13 @@ jobs:
build-polkadot-omni-node-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-omni-node' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-omni-node"]'
package: polkadot-omni-node
release_tag: ${{ needs.validate-inputs.outputs.release_tag }}
target: aarch64-apple-darwin
features: runtime-benchmarks
secrets:
PGP_KMS_KEY: ${{ secrets.PGP_KMS_KEY }}
PGP_KMS_HASH: ${{ secrets.PGP_KMS_HASH }}
Expand All @@ -223,7 +225,7 @@ jobs:
build-frame-omni-bencher-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'frame-omni-bencher' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["frame-omni-bencher"]'
package: frame-omni-bencher
Expand All @@ -245,7 +247,7 @@ jobs:
build-chain-spec-builder-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'chain-spec-builder' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["chain-spec-builder"]'
package: staging-chain-spec-builder
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
jobs:
check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [ check-synchronization ]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-31_promote-rc-to-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:

check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [ check-synchronization ]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-40_publish-deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
jobs:
check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [check-synchronization]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-50_publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ env:
jobs:
check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [check-synchronization]
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release-build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
required: true
default: "release"
description: "The profile to use for the binary build"
features:
required: false
type: string
description: "Features to enable when building the binary (must be a list of comma-separated features)"

jobs:

Expand Down Expand Up @@ -63,10 +67,10 @@ jobs:
if [ "${{ inputs.binary }}" = "polkadot" ]; then
for binary in polkadot polkadot-prepare-worker polkadot-execute-worker; do
echo "Building $binary..."
./.github/scripts/release/build-linux-release.sh $binary ${{ inputs.package }} "${PROFILE}"
./.github/scripts/release/build-linux-release.sh $binary ${{ inputs.package }} "${PROFILE}" ${{ inputs.features }}
done
else
./.github/scripts/release/build-linux-release.sh ${{ inputs.binary }} ${{ inputs.package }} "${PROFILE}"
./.github/scripts/release/build-linux-release.sh ${{ inputs.binary }} ${{ inputs.package }} "${PROFILE}" ${{ inputs.features }}
fi
- name: Upload ${{ inputs.binary }} artifacts
Expand Down
Loading