Skip to content

Commit 35274a7

Browse files
committed
Add artifact archiving step to build workflow
1 parent 9d912dc commit 35274a7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ jobs:
5151
- name: Build
5252
run: cmake --build ${{ github.workspace }}/build --preset ${{ matrix.preset }} --config ${{ matrix.build_type }} -j 4
5353

54+
- name: Archive production artifacts
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: gemma-${{ matrix.os }}-${{ matrix.preset }}-${{ matrix.build_type }}-${{ matrix.cc || 'default' }}
58+
path: |
59+
${{ github.workspace }}/build/${{ matrix.build_type }}/gemma.exe
60+
${{ github.workspace }}/build/${{ matrix.build_type }}/libgemma.lib
61+
${{ github.workspace }}/build/gemma
62+
${{ github.workspace }}/build/libgemma.a
5463
- name: Archive production artifacts
5564
uses: actions/upload-artifact@v6
5665
with:

0 commit comments

Comments
 (0)