diff --git a/.github/workflows/kcpp-build-release-linux-rocm.yaml b/.github/workflows/kcpp-build-release-linux-rocm.yaml index c5d8d473f..3010a31d1 100644 --- a/.github/workflows/kcpp-build-release-linux-rocm.yaml +++ b/.github/workflows/kcpp-build-release-linux-rocm.yaml @@ -16,14 +16,15 @@ env: jobs: linux: runs-on: ubuntu-22.04 - steps: + permissions: write-all + steps: - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main with: # this might remove tools that are actually needed, # if set to "true" but frees about 6 GB tool-cache: true - + # all of these default to true, but feel free to set to # "false" if necessary for your workflow android: true @@ -32,7 +33,7 @@ jobs: large-packages: true docker-images: true swap-storage: true - + - name: Clone id: checkout uses: actions/checkout@v3 @@ -70,3 +71,9 @@ jobs: with: name: kcpp_linux_binary path: dist/ + + - name: Upload to GitHub Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release upload rocm-rolling dist/koboldcpp-linux-x64-rocm --clobber