Skip to content

Commit 60683d3

Browse files
committed
指定相对路径
1 parent 86c1f2f commit 60683d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ jobs:
4444

4545
- name: Build for Windows
4646
if: ${{ matrix.target == 'windows' }}
47+
working-directory: ./server
4748
run: |
4849
.\make.bat ${{ matrix.platform }}
4950
rm -r ./build
5051
5152
- name: Build for Linux
5253
if: ${{ matrix.target == 'linux' }}
54+
working-directory: ./server
5355
run: |
5456
sudo apt update
5557
sudo apt install ninja-build
@@ -58,6 +60,7 @@ jobs:
5860
5961
- name: Build for macOS
6062
if: ${{ matrix.target == 'darwin' }}
63+
working-directory: ./server
6164
run: |
6265
brew install ninja
6366
./make.sh ${{ matrix.platform }}

0 commit comments

Comments
 (0)