Skip to content

Commit f5d3ba1

Browse files
paritytech-release-backport-bot[bot]BDevParityEgorPopelyaev
authored
[stable2512] Backport #10639 (#10660)
Backport #10639 into `stable2512` from BDevParity. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: BDevParity <[email protected]> Co-authored-by: Egor_P <[email protected]>
1 parent 94cf510 commit f5d3ba1

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/release-reusable-rc-build.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,32 +42,20 @@ jobs:
4242
# However, env variables don't work for forks: https://github.com/orgs/community/discussions/44322
4343
# This workaround sets the container image for each job using 'set-image' job output.
4444
runs-on: ubuntu-latest
45-
env:
46-
BINARY: ${{ inputs.binary }}
4745
outputs:
4846
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
49-
RUNNER: ${{ steps.set_image.outputs.RUNNER }}
5047
steps:
5148
- name: Checkout
5249
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5350

5451
- id: set_image
55-
run: |
56-
cat .github/env >> $GITHUB_OUTPUT
57-
RUNNER=""
58-
if [[ "${BINARY}" =~ "polkadot-parachain" || "${BINARY}" =~ "polkadot-omni-node" ]]; then
59-
RUNNER="ubuntu-latest-m"
60-
echo "Using ubuntu-latest-m runner"
61-
else
62-
RUNNER="ubuntu-latest"
63-
echo "Using ubuntu-latest runner"
64-
fi
65-
echo "RUNNER=${RUNNER}" >> $GITHUB_OUTPUT
52+
run: cat .github/env >> $GITHUB_OUTPUT
53+
6654

6755
build-rc:
6856
if: ${{ inputs.target == 'x86_64-unknown-linux-gnu' }}
6957
needs: [set-image]
70-
runs-on: ${{ needs.set-image.outputs.RUNNER }}
58+
runs-on: ubuntu-latest-m
7159
environment: release
7260
container:
7361
image: ${{ needs.set-image.outputs.IMAGE }}

0 commit comments

Comments
 (0)