Skip to content

Commit

Permalink
Upload artifacts
Browse files Browse the repository at this point in the history
* Test logs in case of failures

* Dist tar ball in case of success
  • Loading branch information
Guillaume Marcais authored and Guillaume Marcais committed Mar 19, 2024
1 parent e128ca3 commit 7b540d0
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: dependencies
Expand All @@ -23,5 +21,22 @@ jobs:
run: make -j2
- name: make check
run: make -j2 check
- name: Check logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: checklog
path: "**/*tests/*.log"
- name: make distcheck
run: make -j2 distcheck
- name: Distcheck logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: distchecklog
path: "**/*tests/*.log"
- name: Distribution tar ball
uses: actions/upload-artifact@v4
with:
name: disttarball
path: "jellyfish-*.tar.gz"

0 comments on commit 7b540d0

Please sign in to comment.