Skip to content

Commit 8dd4687

Browse files
committed
Update test.yml
1 parent ff6b578 commit 8dd4687

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,23 @@ jobs:
2020
uses: microsoft/setup-msbuild@v2
2121

2222
- name: Restore NuGet packages
23-
run: nuget restore HintServiceMeow/HintServiceMeow.csproj
23+
run: nuget restore HintServiceMeow/HintServiceMeow.sln
2424

2525
# Build for LabAPI
26-
- name: Build with DEFINE1
26+
- name: Build with LabAPI
2727
run: msbuild HintServiceMeow/HintServiceMeow.csproj /p:Platform=x64 /p:Configuration=Release /p:OutputPath=bin/Release/LabAPI/
2828

2929
# Build for Exiled
30-
- name: Build with DEFINE2
30+
- name: Build with Exiled
3131
run: msbuild HintServiceMeow/HintServiceMeow.csproj /p:Platform=x64 /p:Configuration=Release /p:DefineConstants=EXILED /p:OutputPath=bin/Release/Exiled/
3232

3333
# Rename output DLLs
3434
- name: Rename output DLLs
3535
run: |
3636
mv HintServiceMeow/bin/Release/LabAPI/HintServiceMeow.dll HintServiceMeow/bin/Release/HintServiceMeow-LabAPI.dll
3737
mv HintServiceMeow/bin/Release/Exiled/HintServiceMeow.dll HintServiceMeow/bin/Release/HintServiceMeow-Exiled.dll
38-
38+
39+
# Backup build result
3940
- name: Upload build artifacts
4041
uses: actions/upload-artifact@v4
4142
with:

0 commit comments

Comments
 (0)