Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Dec 2, 2023
1 parent a0bba8c commit 5aa17dd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
--hidden-import=tiktoken_ext.openai_public \
--hidden-import=tiktoken_ext \
;
- name: Make package
id: make_package
run: |
Expand All @@ -86,7 +87,7 @@ jobs:
- name: Upload package
id: upload_package
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: flatline_lsp_ubuntu2004_${{ matrix.build }}.zip
path: dist/flatline_lsp_ubuntu2004_${{ matrix.build }}.zip
Expand All @@ -101,6 +102,10 @@ jobs:
COMMIT_ID=$(echo ${{ github.sha }} | head -c 7)
echo "::set-output name=commit_id::${COMMIT_ID}"
- name: Download all artifact
id: download-all-artifact
uses: actions/download-artifact@v3

- name: Create release
id: create_release
uses: actions/create-release@v1
Expand All @@ -121,7 +126,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/flatline_lsp_ubuntu2004_openblas.zip
asset_path: flatline_lsp_ubuntu2004_openblas.zip
asset_name: flatline_lsp_ubuntu2004_openblas.zip
asset_content_type: application/zip

Expand All @@ -132,6 +137,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/flatline_lsp_ubuntu2004_cublas.zip
asset_path: flatline_lsp_ubuntu2004_cublas.zip
asset_name: flatline_lsp_ubuntu2004_cublas.zip
asset_content_type: application/zip

0 comments on commit 5aa17dd

Please sign in to comment.