mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
ci/linux: create dist artifact only if dist archive was built
Fixes: 512c88ce ("ci/linux: add dist check")
This commit is contained in:
parent
f6bfa8b3e3
commit
e9a6b12769
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@ -119,7 +119,7 @@ jobs:
|
||||
name: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-build
|
||||
path: build
|
||||
- uses: actions/upload-artifact@v1
|
||||
if: failure()
|
||||
if: failure() && matrix.EVENT_MATRIX == 'DIST'
|
||||
with:
|
||||
name: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-dist
|
||||
path: dist
|
||||
@ -204,7 +204,7 @@ jobs:
|
||||
name: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-build
|
||||
path: build
|
||||
- uses: actions/upload-artifact@v1
|
||||
if: failure()
|
||||
if: failure() && matrix.EVENT_MATRIX == 'DIST'
|
||||
with:
|
||||
name: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-dist
|
||||
path: dist
|
||||
|
Loading…
x
Reference in New Issue
Block a user