17
17
matrix :
18
18
include :
19
19
- { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu, platform: linux-x64, cross: general }
20
- - { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, platform: linux-arm64, cross: aarch }
20
+ # - { os: ubuntu-22.04, target: aarch64-unknown-linux-gnu, platform: linux-arm64, cross: aarch64 }
21
21
- { os: ubuntu-20.04, target: x86_64-unknown-linux-musl, platform: linux-musl, cross: cross }
22
- - { os: ubuntu-22.04, target: x86_64-unknown-freebsd, platform: linux-bsd, cross: bsd }
22
+ # - { os: ubuntu-22.04, target: x86_64-unknown-freebsd, platform: linux-bsd, cross: bsd }
23
23
- { os: macos-latest, target: x86_64-apple-darwin, platform: darwin-x64, cross: general }
24
24
- { os: macos-latest, target: aarch64-apple-darwin, platform: darwin-arm64, cross: general }
25
25
- { os: windows-latest, target: x86_64-pc-windows-msvc, platform: win32-x64, cross: general }
@@ -44,12 +44,12 @@ jobs:
44
44
- name : package-unix
45
45
if : ${{ matrix.os != 'windows-latest' }}
46
46
run : |
47
- cp target/${{ matrix.platform }}/release/lua-language-server ${{ github.workspace }}/artifact/
47
+ cp target/${{ matrix.target }}/release/lua-language-server ${{ github.workspace }}/artifact/
48
48
cp resources ${{ github.workspace }}/artifact/ -r
49
49
- name : package-windows
50
- if : ${{ matrix.os == 'windows-latest' }}
50
+ if : ${{ matrix.os == 'windows-latest' }}
51
51
run : |
52
- powershell -Command "Copy-Item -Path target\${{ matrix.platform }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\"
52
+ powershell -Command "Copy-Item -Path target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\"
53
53
powershell -Command "Copy-Item -Path resources -Destination ${{ github.workspace }}\artifact\ -Recurse"
54
54
- name : Upload
55
55
uses : actions/upload-artifact@v3
0 commit comments