Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Sep 12, 2024
1 parent 0c79b14 commit 91cfbf3
Showing 1 changed file with 9 additions and 39 deletions.
48 changes: 9 additions & 39 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 91cfbf3

Please sign in to comment.