File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 5353 run : |
5454 rustup target add ${{ matrix.target }}
5555 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
5757 - name : package-uninx
5858 if : ${{ matrix.os != 'windows-latest' }}
5959 run : |
@@ -68,10 +68,17 @@ jobs:
6868 Copy-Item -Path ${{ github.workspace }}\target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\bin
6969 shell : pwsh
7070 - name : Upload
71+ if : ${{ matrix.cross != 'zigbuild' }}
7172 uses : actions/upload-artifact@v3
7273 with :
7374 name : lua-language-server-${{ matrix.platform }}
7475 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/
7582 release :
7683 needs : build
7784 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments