Skip to content

Commit

Permalink
Fix CI (#1364)
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <[email protected]>
  • Loading branch information
AurevoirXavier authored Dec 18, 2023
1 parent c04874a commit 95cfa69
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,17 @@ jobs:
mkdir -p build
if [ "$SKIP_BUILD" == "false" ]; then
if [ "$IS_MAINNET" == "true" || "$IS_TESTNET" == "true" ]; then
echo '${{ steps.srtool_build.outputs.json }}' | jq > build/${CHAIN}-srtool.json
mv ${CHAIN}_runtime.compact.compressed.wasm build/
if [ "$SKIP_BUILD" == "false" ]; then
if [ "$IS_MAINNET" == "true" ] || [ "$IS_TESTNET" == "true" ]; then
echo "${{ steps.srtool_build.outputs.json }}" | jq > build/${CHAIN}-srtool.json
mv ${{ steps.srtool_build.outputs.wasm_compressed }} build/
cat .github/note-template/runtime.md \
| gomplate -d srtool=build/${CHAIN}-srtool.json \
> build/runtime.md
fi
else
if [ "$IS_MAINNET" == "true" || "$IS_TESTNET" == "true" ]; then
if [ "$IS_MAINNET" == "true" ] || [ "$IS_TESTNET" == "true" ]; then
echo SKIP_BUILD > build/${CHAIN}-srtool.json
echo SKIP_BUILD > build/${CHAIN}_runtime.compact.compressed.wasm
echo SKIP_BUILD > build/runtime.md
Expand Down

0 comments on commit 95cfa69

Please sign in to comment.