Skip to content

Commit d153498

Browse files
committedSep 11, 2024·
fix build
1 parent 4c46f0d commit d153498

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
 

‎.github/workflows/build.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,16 @@ jobs:
5050
- name: package-unix
5151
if: ${{ matrix.os != 'windows-latest' }}
5252
run: |
53+
mkdir -p ${{ github.workspace }}/artifact
5354
cp ${{ github.workspace }}/target/${{ matrix.target }}/release/lua-language-server ${{ github.workspace }}/artifact/
5455
cp ${{ github.workspace }}/resources ${{ github.workspace }}/artifact/ -r
5556
- name: package-windows
5657
if: ${{ matrix.os == 'windows-latest' }}
5758
run: |
58-
powershell -Command "Copy-Item -Path ${{ github.workspace }}\target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\"
59-
powershell -Command "Copy-Item -Path ${{ github.workspace }}\resources -Destination ${{ github.workspace }}\artifact\ -Recurse"
59+
New-Item -ItemType Directory -Path "${{ github.workspace }}/artifact"
60+
Copy-Item -Path ${{ github.workspace }}\target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\
61+
Copy-Item -Path ${{ github.workspace }}\resources -Destination ${{ github.workspace }}\artifact\ -Recurse
62+
shell: pwsh
6063
- name: Upload
6164
uses: actions/upload-artifact@v3
6265
with:

‎README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ This project is currently a work in progress. It is an exploration of using Rust
66

77
- [x] win32-x64
88
- [x] win32-ia32
9-
- [ ] linux-aarch64
9+
- [x] linux-aarch64 not format
1010
- [x] linux-x64
1111
- [x] linux-musl
12-
- [ ] linux-bsd
12+
- [x] linux-bsd not format
1313
- [x] darwin-x64
1414
- [x] darwin-arm64
1515

16+
NOTE: The linux-aarch64 and linux-bsd are not format, because there are some build problems.
17+
1618
# Build
1719

1820
Rust version: 1.81.0

0 commit comments

Comments
 (0)
Please sign in to comment.