diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c628f13..9ae67b8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -73,6 +73,7 @@ jobs: --hidden-import=tiktoken_ext.openai_public \ --hidden-import=tiktoken_ext \ ; + - name: Make package id: make_package run: | @@ -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 @@ -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 @@ -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 @@ -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