only upload release builds
parent
d5a09aad12
commit
9e2007562a
|
@ -85,6 +85,7 @@ jobs:
|
|||
bash .github/scripts/unix.sh -t
|
||||
- name: Upload build directory
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{ matrix.build_type }} == "Release"
|
||||
with:
|
||||
name: gtsam-${{ matrix.name }}-${{ matrix.build_type }}
|
||||
path: ${{ github.workspace }}/build/
|
||||
|
|
|
@ -53,6 +53,7 @@ jobs:
|
|||
bash .github/scripts/unix.sh -t
|
||||
- name: Upload build directory
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{ matrix.build_type }} == "Release"
|
||||
with:
|
||||
name: gtsam-${{ matrix.name }}-${{ matrix.build_type }}
|
||||
path: ${{ github.workspace }}/build/
|
||||
|
|
|
@ -78,6 +78,7 @@ jobs:
|
|||
cmake --build build --config ${{ matrix.build_type }} --target check.linear
|
||||
- name: Upload build directory
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{ matrix.build_type }} == "Release"
|
||||
with:
|
||||
name: gtsam-${{ matrix.name }}-${{ matrix.build_type }}
|
||||
path: ${{ github.workspace }}/build/
|
||||
|
|
Loading…
Reference in New Issue