File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 53
53
run : |
54
54
rustup target add ${{ matrix.target }}
55
55
cargo install --locked cargo-zigbuild
56
- cross zigbuild --release --target ${{ matrix.target }}-gun .${{ matrix.glibc }} -p luals
56
+ cargo zigbuild --release --target ${{ matrix.target }}.${{ matrix.glibc }} -p luals
57
57
- name : package-uninx
58
58
if : ${{ matrix.os != 'windows-latest' }}
59
59
run : |
@@ -68,10 +68,17 @@ jobs:
68
68
Copy-Item -Path ${{ github.workspace }}\target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\bin
69
69
shell : pwsh
70
70
- name : Upload
71
+ if : ${{ matrix.cross != 'zigbuild' }}
71
72
uses : actions/upload-artifact@v3
72
73
with :
73
74
name : lua-language-server-${{ matrix.platform }}
74
75
path : ${{ github.workspace }}/artifact/
76
+ - name : Upload zigbuild
77
+ if : ${{ matrix.cross == 'zigbuild' }}
78
+ uses : actions/upload-artifact@v3
79
+ with :
80
+ name : lua-language-server-${{ matrix.platform }}.${{ matrix.glibc }}
81
+ path : ${{ github.workspace }}/artifact/
75
82
release :
76
83
needs : build
77
84
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments