File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments