mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
allow uploading tagged pinned versions for rocm
This commit is contained in:
parent
1515d67c2c
commit
57db0ce9cd
1 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,11 @@ on:
|
||||||
description: 'Optional commit hash to build from'
|
description: 'Optional commit hash to build from'
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
tag_name:
|
||||||
|
description: 'Optional version tag (e.g. v1.57.1) for stable release file'
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
|
@ -77,3 +82,12 @@ jobs:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh release upload rocm-rolling dist/koboldcpp-linux-x64-rocm --clobber
|
gh release upload rocm-rolling dist/koboldcpp-linux-x64-rocm --clobber
|
||||||
|
|
||||||
|
- name: Upload version pinned tagged binary
|
||||||
|
if: ${{ inputs.tag_name != '' }}
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TAG_NAME: ${{ inputs.tag_name }}
|
||||||
|
run: |
|
||||||
|
cp dist/koboldcpp-linux-x64-rocm "dist/koboldcpp-linux-x64-rocm-${TAG_NAME}"
|
||||||
|
gh release upload rocm-rolling "dist/koboldcpp-linux-x64-rocm-${TAG_NAME}" --clobber
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue