Skip to content

Commit 4c46f0d

Browse files
committed
cp files
1 parent 6e796b4 commit 4c46f0d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ jobs:
5050
- name: package-unix
5151
if: ${{ matrix.os != 'windows-latest' }}
5252
run: |
53-
ls -R target
54-
cp target/${{ matrix.target }}/release/lua-language-server ${{ github.workspace }}/artifact/
55-
cp resources ${{ github.workspace }}/artifact/ -r
53+
cp ${{ github.workspace }}/target/${{ matrix.target }}/release/lua-language-server ${{ github.workspace }}/artifact/
54+
cp ${{ github.workspace }}/resources ${{ github.workspace }}/artifact/ -r
5655
- name: package-windows
5756
if: ${{ matrix.os == 'windows-latest' }}
5857
run: |
59-
powershell -Command "Copy-Item -Path target\${{ matrix.target }}\release\lua-language-server.exe -Destination ${{ github.workspace }}\artifact\"
60-
powershell -Command "Copy-Item -Path resources -Destination ${{ github.workspace }}\artifact\ -Recurse"
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"
6160
- name: Upload
6261
uses: actions/upload-artifact@v3
6362
with:

0 commit comments

Comments
 (0)