mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-07 03:07:05 -04:00
ci/linux: create dist artifact only if dist archive was built
Fixes: 512c88ce ("ci/linux: add dist check") (cherry picked from commit e9a6b127696f75097dea01d197735596335865bb)
This commit is contained in:
parent
1c9cc07b32
commit
c660a578bf
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
|
name: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-build
|
||||||
path: build
|
path: build
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure() && matrix.EVENT_MATRIX == 'DIST'
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-dist
|
name: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-dist
|
||||||
path: dist
|
path: dist
|
||||||
@ -204,7 +204,7 @@ jobs:
|
|||||||
name: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-build
|
name: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-build
|
||||||
path: build
|
path: build
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure() && matrix.EVENT_MATRIX == 'DIST'
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-dist
|
name: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-dist
|
||||||
path: dist
|
path: dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user