Skip to content

Commit

Permalink
ci: Replace actions/upload-artifact with plain cat
Browse files Browse the repository at this point in the history
Why? GitHub Actions' Artifacts are a PITA to work with when trying to quickly debug a failed workflow.
  • Loading branch information
bostjan committed Jul 28, 2023
1 parent c2d6db3 commit dcc2af0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 28 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-qa-arch-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,5 @@ jobs:
- run: make -j4
- run: make -j4 check

- uses: actions/upload-artifact@v2
- run: cat tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tests/
5 changes: 1 addition & 4 deletions .github/workflows/build-qa-config-matrix-large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,5 @@ jobs:
- run: make -j4
- run: make -j4 check

- uses: actions/upload-artifact@v2
- run: cat tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tests/
5 changes: 1 addition & 4 deletions .github/workflows/build-qa-config-matrix-small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,5 @@ jobs:
- run: make -j4
- run: make -j4 check

- uses: actions/upload-artifact@v2
- run: cat tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tests/
5 changes: 1 addition & 4 deletions .github/workflows/build-qa-os-matrix-large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,5 @@ jobs:
- run: make -j4
- run: make -j4 check

- uses: actions/upload-artifact@v2
- run: cat tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tests/
5 changes: 1 addition & 4 deletions .github/workflows/build-qa-os-matrix-small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,5 @@ jobs:
- run: make -j4
- run: make -j4 check

- uses: actions/upload-artifact@v2
- run: cat tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tests/
5 changes: 1 addition & 4 deletions .github/workflows/build-qa-out-of-tree-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,5 @@ jobs:
- run: cd tmp/build1 && make -j4
- run: cd tmp/build1 && make -j4 check

- uses: actions/upload-artifact@v2
- run: cat tmp/build1/tests/*/test-suite.log
if: failure()
with:
name: tests-directory
path: tmp/build1/tests/
5 changes: 1 addition & 4 deletions .github/workflows/install-qa-os-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,8 @@ jobs:

### Report debugging info on failure
#
- uses: actions/upload-artifact@v2
- run: cat install-snoopy.log
if: failure()
with:
name: install-snoopy.log
path: install-snoopy.log



Expand Down

0 comments on commit dcc2af0

Please sign in to comment.