Skip to content

Commit 83db48d

Browse files
authored
Attempt to fix Docker env vars (make it compile rocm again)
1 parent 032eb4d commit 83db48d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/kcpp-build-release-linux-rocm.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
-v "${{ github.workspace }}:/workspace" \
4747
-w /workspace \
4848
rocm/dev-ubuntu-22.04:7.0-complete \
49+
-e "KCPP_CUDA=ROCm" \
50+
-e "BRANCH_NAME=${{ github.head_ref || github.ref_name }}" \
4951
bash -c "
5052
apt update &&
5153
DEBIAN_FRONTEND=noninteractive apt install -y git curl bzip2 python3-tk tcl tk &&
@@ -64,13 +66,13 @@ jobs:
6466
env:
6567
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6668
run: |
67-
gh release upload rocm-rolling ${{ github.workspace }}/dist/koboldcpp-linux-x64-rocm --clobber
69+
gh release upload rocm-rolling dist/koboldcpp-linux-x64-rocm --clobber
6870
6971
- name: Upload version pinned tagged binary
7072
if: ${{ inputs.tag_name != '' }}
7173
env:
7274
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7375
TAG_NAME: ${{ inputs.tag_name }}
7476
run: |
75-
cp dist/koboldcpp-linux-x64-rocm "${{ github.workspace }}/dist/koboldcpp-linux-x64-rocm-${TAG_NAME}"
76-
gh release upload rocm-rolling "${{ github.workspace }}/dist/koboldcpp-linux-x64-rocm-${TAG_NAME}" --clobber
77+
cp dist/koboldcpp-linux-x64-rocm "dist/koboldcpp-linux-x64-rocm-${TAG_NAME}"
78+
gh release upload rocm-rolling "dist/koboldcpp-linux-x64-rocm-${TAG_NAME}" --clobber

0 commit comments

Comments
 (0)