From 0f2a6d2c3c32ab1c19bd295838d3063f5bddd268 Mon Sep 17 00:00:00 2001 From: Nikita Melnikov Date: Thu, 1 Feb 2024 14:54:03 +0100 Subject: [PATCH] save build output to artifacts --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0cbba66..ae999c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,6 +103,16 @@ jobs: - name: "Test summary" run: "grep -r '===.* in ' `find . -path '*build/out*txt'`| sed -e 's/===*//g' " + - name: Zip build output + run: zip -r ./build.zip ./build + + - name: Push build output to artifacts + uses: actions/upload-artifact@v3 + with: + name: build + path: ./build.zip + retention-days: 2 + - name: dump logs if: ${{ inputs.dump_logs }} run: for d in build/*/*.log; do echo === $d:; cat $d | perl -pe 's/(?:runbundler-)?(\S+?)(?:-1)?[\s|]+(\S+)/$2 $1 /' | sort ; done