Skip to content

Commit a3e8cec

Browse files
Merge pull request #31 from CorruptedAesthetic/staging-preset-implementation
Fix jq broken pipe error in GitHub Actions workflow - Add error suppr…
2 parents f1c3804 + aa0e923 commit a3e8cec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
ls -l chainspecs/development/development.json chainspecs/development/development-raw.json
161161
162162
echo -e "\n📄 Chain spec structure (first 5 lines):"
163-
jq . chainspecs/development/development.json | head -n 5
163+
jq . chainspecs/development/development.json 2>/dev/null | head -n 5 || true
164164
165165
echo -e "\n🔍 Checking file sizes:"
166166
stat -c "development.json: %s bytes" chainspecs/development/development.json
@@ -216,7 +216,7 @@ jobs:
216216
ls -l chainspecs/staging/staging-chainspec.json chainspecs/staging/staging-raw.json
217217
218218
echo -e "\n📄 Chain spec structure (first 5 lines):"
219-
jq . chainspecs/staging/staging-chainspec.json | head -n 5
219+
jq . chainspecs/staging/staging-chainspec.json 2>/dev/null | head -n 5 || true
220220
221221
echo -e "\n🔍 Checking file sizes:"
222222
stat -c "staging-chainspec.json: %s bytes" chainspecs/staging/staging-chainspec.json

0 commit comments

Comments
 (0)