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