Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #1364

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Fix CI #1364

Changes from all commits
Commits
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
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