only upload release builds

release/4.3a0
Varun Agrawal 2020-11-19 08:04:30 -05:00
parent d5a09aad12
commit 9e2007562a
3 changed files with 3 additions and 0 deletions

View File

@ -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/

View File

@ -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/

View File

@ -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/