Skip to content

Commit 0151f8c

Browse files
authored
Split CI artifacts (#1672)
* Split artifacts * do exe if not pull request
1 parent 018b804 commit 0151f8c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,23 @@ jobs:
104104
run: |
105105
./rtabmap-console --version
106106
107-
- name: Upload RTABMap Artifacts
107+
- name: Upload RTABMap Artifacts (ZIP)
108108
if: matrix.os == 'windows-2022'
109109
uses: actions/upload-artifact@v4
110110
with:
111-
name: RTABMap-Binaries-${{ matrix.build_name }}
111+
name: RTABMap-Binaries-${{ matrix.build_name }}-zip
112112
path: |
113113
build/RTABMap-*.zip
114+
compression-level: 0
115+
if-no-files-found: warn
116+
retention-days: ${{ github.event_name == 'pull_request' && 1 || 90 }}
117+
118+
- name: Upload RTABMap Artifacts (Installer)
119+
if: matrix.os == 'windows-2022' && github.event_name != 'pull_request'
120+
uses: actions/upload-artifact@v4
121+
with:
122+
name: RTABMap-Binaries-${{ matrix.build_name }}-exe
123+
path: |
114124
build/RTABMap-*.exe
115125
compression-level: 0
116126
if-no-files-found: warn

0 commit comments

Comments
 (0)