Skip to content

Commit 2984d3c

Browse files
author
ochafik
committed
Align artefact names on existing ones
1 parent 5eb87e9 commit 2984d3c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ jobs:
868868
DEBIAN_FRONTEND: noninteractive
869869
run: |
870870
apt update
871-
apt install -y cmake build-essential ninja-build libgomp1 git libcurl4-openssl-dev
871+
apt install -y cmake build-essential ninja-build libgomp1 git
872872
873873
- name: Build with CMake
874874
run: |
@@ -895,21 +895,21 @@ jobs:
895895
SAFE_NAME=$(echo "${{ env.BRANCH_NAME }}" | tr '/' '-')
896896
echo "name=${SAFE_NAME}-b${BUILD_NUMBER}-${SHORT_HASH}" >> $GITHUB_OUTPUT
897897
fi
898-
echo "cuda_name=cuda-${{ matrix.cuda.short_version }}-cap-${{ matrix.cuda.cap }}" >> $GITHUB_OUTPUT
898+
echo "cuda_name=cu${{ matrix.cuda.short_version }}-cap${{ matrix.cuda.cap }}" >> $GITHUB_OUTPUT
899899
900900
- name: Pack artifacts
901901
id: pack_artifacts
902902
if: ${{ matrix.cuda.package && (( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true') }}
903903
run: |
904904
cp LICENSE ./build/bin/
905-
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64-${{ steps.tag.outputs.cuda_name }}.zip ./build/bin/*
905+
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-cuda-${{ steps.tag.outputs.cuda_name }}-x64.zip ./build/bin/*
906906
907907
- name: Upload artifacts
908908
if: ${{ matrix.cuda.package && (( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true') }}
909909
uses: actions/upload-artifact@v4
910910
with:
911-
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64-${{ steps.tag.outputs.cuda_name }}.zip
912-
name: llama-bin-ubuntu-x64.zip
911+
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-cuda-${{ steps.tag.outputs.cuda_name }}-x64.zip
912+
name: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-cuda-${{ steps.tag.outputs.cuda_name }}-x64.zip
913913

914914
windows-2019-cmake-cuda:
915915
runs-on: windows-2019

0 commit comments

Comments
 (0)