Skip to content

Commit 032eb4d

Browse files
authored
CI binary location fix attempt
1 parent cb9dff6 commit 032eb4d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
4343
- name: Build inside ROCm container
4444
run: |
45-
docker pull rocm/dev-ubuntu-22.04:7.0-complete
4645
docker run --privileged \
4746
-v "${{ github.workspace }}:/workspace" \
4847
-w /workspace \
@@ -59,19 +58,19 @@ jobs:
5958
uses: actions/upload-artifact@v4
6059
with:
6160
name: kcpp_linux_binary
62-
path: dist/
61+
path: ${{ github.workspace }}/dist/
6362

6463
- name: Upload to GitHub Release
6564
env:
6665
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6766
run: |
68-
gh release upload rocm-rolling dist/koboldcpp-linux-x64-rocm --clobber
67+
gh release upload rocm-rolling ${{ github.workspace }}/dist/koboldcpp-linux-x64-rocm --clobber
6968
7069
- name: Upload version pinned tagged binary
7170
if: ${{ inputs.tag_name != '' }}
7271
env:
7372
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7473
TAG_NAME: ${{ inputs.tag_name }}
7574
run: |
76-
cp dist/koboldcpp-linux-x64-rocm "dist/koboldcpp-linux-x64-rocm-${TAG_NAME}"
77-
gh release upload rocm-rolling "dist/koboldcpp-linux-x64-rocm-${TAG_NAME}" --clobber
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

0 commit comments

Comments
 (0)