Skip to content

Commit

Permalink
fix(ci): Update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Oct 5, 2023
1 parent 7be7a47 commit 32bab7e
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
CC=gcc-8 make -j $(nproc)
ls -la
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/nitro
asset_name: nitro-linux-amd64
tag: ${{ github.ref }}

ubuntu-amd64-cuda-build:
runs-on: linux-gpu
permissions:
Expand All @@ -70,7 +78,15 @@ jobs:
mkdir build && cd build
cmake -DLLAMA_CUBLAS=ON ..
CC=gcc-8 make -j $(nproc)
ls -la
ls -la
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/nitro
asset_name: nitro-linux-amd64-cuda
tag: ${{ github.ref }}

macOS-M-build:
runs-on: mac-silicon
Expand Down Expand Up @@ -98,6 +114,14 @@ jobs:
CC=gcc-8 make -j $(nproc)
ls -la
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/nitro
asset_name: nitro-mac-arm64-metal
tag: ${{ github.ref }}

macOS-Intel-build:
runs-on: macos-latest
permissions:
Expand All @@ -122,4 +146,12 @@ jobs:
mkdir build && cd build
cmake -DLLAMA_METAL=OFF ..
CC=gcc-8 make -j $(nproc)
ls -la
ls -la
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/nitro
asset_name: nitro-mac-amd64
tag: ${{ github.ref }}

0 comments on commit 32bab7e

Please sign in to comment.