From 91cfbf3cf0d24951a62d679ae8eeedea578c9a0d Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Thu, 12 Sep 2024 11:24:42 +0800 Subject: [PATCH] fix build --- .github/workflows/build.yml | 48 +++++++------------------------------ 1 file changed, 9 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f971c2..71d09a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,38 +70,8 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') steps: - - name: Download win32-x64 - uses: actions/download-artifact@v4 - with: - name: lua-language-server-win32-x64 - - name: Download win32-ia32 - uses: actions/download-artifact@v4 - with: - name: lua-language-server-win32-ia32 - - name: Download linux-x64 - uses: actions/download-artifact@v4 - with: - name: lua-language-server-linux-x64 - - name: Download linux-arm64 - uses: actions/download-artifact@v4 - with: - name: lua-language-server-linux-aarch64 - - name: Download linux-musl - uses: actions/download-artifact@v4 - with: - name: lua-language-server-linux-musl - - name: Download linux-bsd - uses: actions/download-artifact@v4 - with: - name: lua-language-server-linux-bsd - - name: Download darwin-x64 - uses: actions/download-artifact@v4 - with: - name: lua-language-server-darwin-x64 - - name: Download darwin-arm64 - uses: actions/download-artifact@v4 - with: - name: lua-language-server-darwin-arm64 + - name: Download + uses: actions/download-artifact@v2 - name: look file stucture run: | ls -R @@ -118,17 +88,17 @@ jobs: - name: tar unix run: | chmod +x lua-language-server-linux-x64/lua-language-server - tar -czf lua-language-server-linux-x64.tar.gz lua-language-server-linux-x64 - chmod +x lua-language-server-linux-aarch64/lua-language-server - tar -czf lua-language-server-linux-aarch64.tar.gz lua-language-server-linux-aarch64 + tar -czf lua-language-server-linux-x64.tar.gz -C lua-language-server-linux-x64 . + chmod +x lua-language-server-linux-arm64/lua-language-server + tar -czf lua-language-server-linux-aarch64.tar.gz -C lua-language-server-linux-arm64 . chmod +x lua-language-server-linux-musl/lua-language-server - tar -czf lua-language-server-linux-musl.tar.gz lua-language-server-linux-musl + tar -czf lua-language-server-linux-musl.tar.gz -C lua-language-server-linux-musl . chmod +x lua-language-server-linux-bsd/lua-language-server - tar -czf lua-language-server-linux-bsd.tar.gz lua-language-server-linux-bsd + tar -czf lua-language-server-linux-bsd.tar.gz -C lua-language-server-linux-bsd . chmod +x lua-language-server-darwin-x64/lua-language-server - tar -czf lua-language-server-darwin-x64.tar.gz lua-language-server-darwin-x64 + tar -czf lua-language-server-darwin-x64.tar.gz -C lua-language-server-darwin-x64 . chmod +x lua-language-server-darwin-arm64/lua-language-server - tar -czf lua-language-server-darwin-arm64.tar.gz lua-language-server-darwin-arm64 + tar -czf lua-language-server-darwin-arm64.tar.gz -C lua-language-server-darwin-arm64 . - name: Release uses: softprops/action-gh-release@v2 with: