mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
try create artifact
This commit is contained in:
parent
4c7a08f971
commit
d31bfe37be
17
.github/workflows/build-commit.yml
vendored
17
.github/workflows/build-commit.yml
vendored
@ -44,21 +44,22 @@ jobs:
|
||||
with:
|
||||
length: 6
|
||||
|
||||
- name: package artifacts for release
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
run: zip \
|
||||
${{github.workspace}}/ggml/build/bin/codegen \
|
||||
${{github.workspace}}/ggml/build/bin/codegen-serve \
|
||||
${{github.workspace}}/ggml/build/bin/codegen-quantize \
|
||||
${{github.workspace}}/ggml/build/bin/turbopilot-${{ runner.os }}-${{ runner.arch }}.zip
|
||||
|
||||
- name: Upload Build Artifacts
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
with:
|
||||
# Artifact name
|
||||
name: turbopilot-${{ runner.os }}-${{ runner.arch }}-${{ steps.short-sha.outputs.sha }} # optional, default is artifact
|
||||
# A file, directory or wildcard pattern that describes what to upload
|
||||
path: ${{github.workspace}}/ggml/build/bin/codegen*
|
||||
path: ${{github.workspace}}/ggml/build/bin/turbopilot-${{ runner.os }}-${{ runner.arch }}.zip
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user