Skip to content

Commit

Permalink
always run (ie: failure or success) and obey debug as condition to ex…
Browse files Browse the repository at this point in the history
…ecute, also append matrix.os to the name of artifact upload so you can view debug logs for EACH os
  • Loading branch information
ramin committed Nov 6, 2023
1 parent e5fed62 commit 79de1b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ jobs:

- name: Upload unit test output
uses: actions/upload-artifact@v3
if: ${{ github.event.inputs.debug == 'true' }}
if: always() && github.event.inputs.debug == 'true'
with:
name: unit-test-output
name: unit-test-output-${{ matrix.os }}
path: |
debug.log
coverage.txt
Expand Down

0 comments on commit 79de1b0

Please sign in to comment.