@@ -170,6 +170,11 @@ jobs:
170170 shared-key : " bulletin-cache-benchmarks"
171171 save-if : ${{ github.ref == 'refs/heads/main' }}
172172
173+ - name : Create directory for binary and add to PATH
174+ run : |
175+ mkdir -p $FRAME_OMNI_BENCHER_BIN_DIR
176+ echo "${FRAME_OMNI_BENCHER_BIN_DIR}" >> $GITHUB_PATH
177+
173178 - name : Cache frame-omni-bencher
174179 uses : actions/cache@v5
175180 id : frame-omni-bencher-cache
@@ -180,20 +185,16 @@ jobs:
180185 - name : Download frame-omni-bencher
181186 if : steps.frame-omni-bencher-cache.outputs.cache-hit != 'true'
182187 run : |
183- mkdir -p $FRAME_OMNI_BENCHER_BIN_DIR
184188 cd $FRAME_OMNI_BENCHER_BIN_DIR
185189 echo "Downloading frame-omni-bencher..."
186190 curl -L -o frame-omni-bencher "https://github.com/paritytech/polkadot-sdk/releases/download/${POLKADOT_SDK_VERSION}/frame-omni-bencher"
187191 chmod +x frame-omni-bencher
188192 ./frame-omni-bencher --version
189- echo "${FRAME_OMNI_BENCHER_BIN_DIR}" >> $GITHUB_PATH
190193
191194 - name : Run benchmarks (Westend parachain)
192195 run : |
193- echo "Running benchmarks for Westend parachain..."
194196 python3 ./scripts/cmd/cmd.py bench --runtime bulletin-westend --steps 2 --repeat 1
195- echo "Benchmarks for Westend parachain completed."
196-
197- echo "Running production check for Westend parachain..."
197+
198+ - name : Run production check for Westend parachain
199+ run : |
198200 cargo check --profile production -p bulletin-westend-runtime
199- echo "Production check for Westend parachain completed."
0 commit comments