Skip to content

Commit 0d34af5

Browse files
committed
WIP: Enable release builds/save artifacts for PRs
1 parent 0cf1ef7 commit 0d34af5

File tree

3 files changed

+56
-1159
lines changed

3 files changed

+56
-1159
lines changed

.github/workflows/build-riscv-native.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,20 @@ jobs:
5858
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH
5959
6060
cmake --build build --config Release -j $(nproc)
61+
62+
- name: Determine tag name
63+
id: tag
64+
uses: ./.github/actions/get-tag-name
65+
66+
- name: Pack artifacts
67+
id: pack_artifacts
68+
run: |
69+
cp LICENSE ./build/bin/
70+
zip -r llama-${{ steps.tag.outputs.name }}-bin-debian-13-riscv64-native.zip ./build/bin/*
71+
72+
- name: Upload artifacts
73+
uses: actions/upload-artifact@v4
74+
with:
75+
path: llama-${{ steps.tag.outputs.name }}-bin-debian-13-riscv64-native.zip
76+
name: llama-bin-debian-13-riscv64-native.zip
77+

0 commit comments

Comments
 (0)