Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darknight committed Dec 11, 2023
1 parent e36aebb commit 771b7da
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,20 @@ jobs:
include:
- os: macos-latest
target: aarch64-apple-darwin
raw: tabby
binary: aarch64-apple-darwin
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
raw: tabby
binary: x86_64-manylinux2014
container: quay.io/pypa/manylinux2014_x86_64
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
raw: tabby
binary: x86_64-manylinux2014-cuda117
container: sameli/manylinux2014_x86_64_cuda_11.7
build_args: --features cuda
- os: windows-latest
target: x86_64-pc-windows-msvc
raw: tabby.exe
binary: x86_64-pc-windows-msvc.exe
binary: x86_64-pc-windows-msvc
ext: .exe
build_args: --features cuda

env:
Expand Down Expand Up @@ -105,14 +102,14 @@ jobs:
run: cargo build ${{ matrix.build_args }} --release --target ${{ matrix.target }} --package tabby

- name: Rename release binary
run: mv target/${{ matrix.target }}/release/${{ matrix.raw }} tabby_${{ matrix.binary }}
run: mv target/${{ matrix.target }}/release/tabby${{ matrix.ext }} tabby_${{ matrix.binary }}${{ matrix.ext }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
retention-days: 3
name: tabby_${{ matrix.binary }}
path: tabby_${{ matrix.binary }}
name: tabby_${{ matrix.binary }}${{ matrix.ext }}
path: tabby_${{ matrix.binary }}${{ matrix.ext }}

pre-release:
if: github.event_name == 'push'
Expand Down

0 comments on commit 771b7da

Please sign in to comment.