Skip to content

Commit

Permalink
save build output to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nikmel2803 committed Feb 1, 2024
1 parent 67523fa commit 0f2a6d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f2a6d2

Please sign in to comment.