From 5d864708340f54659f08489ac7f67f10f1c010e5 Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Thu, 31 Oct 2024 11:39:30 +0800 Subject: [PATCH] fix build --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dd7406..7419360 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,12 +50,13 @@ jobs: - name: package-uninx if: ${{ matrix.os != 'windows-latest' }} run: | + mkdir -p ${{ github.workspace }}/artifact/bin cp ${{ github.workspace }}/target/${{ matrix.target }}/release/lua-language-server ${{ github.workspace }}/artifact/bin python publish/workflow_copy_files.py . ${{ github.workspace }}/artifact - name: package-windows if: ${{ matrix.os == 'windows-latest' }} run: | - New-Item -ItemType Directory -Path "${{ github.workspace }}/artifact" + New-Item -ItemType Directory -Path "${{ github.workspace }}/artifact/bin" Copy-Item -Path ${{ github.workspace }}\target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\bin python publish/workflow_copy_files.py . "${{ github.workspace }}/artifact" shell: pwsh