mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
try to fix builds
This commit is contained in:
parent
ca5a73ce24
commit
4c7a08f971
17
.github/workflows/build-commit.yml
vendored
17
.github/workflows/build-commit.yml
vendored
@ -39,14 +39,6 @@ jobs:
|
||||
chmod +x ${{github.workspace}}/ggml/build/bin/codegen-quantize
|
||||
|
||||
|
||||
|
||||
- name: Prepare Build Artifacts
|
||||
run: |
|
||||
zip ${{github.workspace}}/ggml/build/bin/build.zip \
|
||||
${{github.workspace}}/ggml/build/bin/codegen \
|
||||
${{github.workspace}}/ggml/build/bin/codegen-serve \
|
||||
${{github.workspace}}/ggml/build/bin/codegen-quantize \
|
||||
|
||||
- uses: benjlevesque/short-sha@v2.2
|
||||
id: short-sha
|
||||
with:
|
||||
@ -61,9 +53,16 @@ jobs:
|
||||
path: ${{github.workspace}}/ggml/build/bin/codegen*
|
||||
# The desired behavior if no files are found using the provided path.
|
||||
|
||||
- name: package artifacts for release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: zip ${{github.workspace}}/ggml/build/bin/turbopilot-${{ runner.os }}-${{ runner.arch }}.zip \
|
||||
${{github.workspace}}/ggml/build/bin/codegen \
|
||||
${{github.workspace}}/ggml/build/bin/codegen-serve \
|
||||
${{github.workspace}}/ggml/build/bin/codegen-quantize \
|
||||
|
||||
- name: Upload binaries to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
token: ${{ secrets.PUBLISH_TOKEN }}
|
||||
files: ${{github.workspace}}/ggml/build/bin/codegen*
|
||||
files: ${{github.workspace}}/ggml/build/bin/turbopilot-${{ runner.os }}-${{ runner.arch }}.zip
|
||||
|
13
.github/workflows/docker-image.yml
vendored
13
.github/workflows/docker-image.yml
vendored
@ -52,18 +52,7 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
push: true
|
||||
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref }}
|
||||
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref_name }}
|
||||
context: ${{github.workspace}}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
# - name: Publish Docker Image to GitHub Registry
|
||||
# # You may pin to the exact commit or the version.
|
||||
# # uses: TilBlechschmidt/gp-docker-action@f89287d44556dd7d24f76c799cd0795eeb352bcf
|
||||
# uses: TilBlechschmidt/gp-docker-action@v0.2-alpha
|
||||
# with:
|
||||
# # GitHub token to push Docker image to GitHub Packages
|
||||
# github-token: ${{ secrets.GH_TOKEN }}
|
||||
# # Docker Image name
|
||||
# image-name: turbopilot
|
||||
# # Path to the directory where the Dockerfile resides
|
||||
# dockerfile-path: . # optional, default is .
|
||||
|
Loading…
Reference in New Issue
Block a user