Skip to content

Commit a03655d

Browse files
Update build.yml
1 parent 4401f98 commit a03655d

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: Build
22

33
on:
44
push:
@@ -14,12 +14,15 @@ env:
1414
jobs:
1515
build:
1616
runs-on: windows-latest
17+
strategy:
18+
matrix:
19+
target: [EXILED, LabAPI]
1720

1821
steps:
1922
- uses: actions/checkout@v4
2023

21-
- name: Setup Nuget
22-
uses: iRebbok/setup-nuget@master
24+
- name: Setup NuGet
25+
uses: nuget/setup-nuget@v1
2326

2427
- name: Restore Packages
2528
run: nuget restore RemoteKeycard.sln
@@ -38,13 +41,11 @@ jobs:
3841
mkdir RemoteKeycard\lib
3942
tar -xf References.zip -C RemoteKeycard/lib
4043
41-
- name: Build
42-
env:
43-
EXILED_REFERENCES: ${{ env.EXILED_REFERENCES_PATH }}
44-
run: msbuild RemoteKeycard.sln -p:Configuration=EXILED
44+
- name: Build ${{ matrix.target }}
45+
run: msbuild RemoteKeycard.sln -p:Configuration=${{ matrix.target }}
4546

46-
- name: Upload Build
47+
- name: Upload Build ${{ matrix.target }}
4748
uses: actions/upload-artifact@v4
4849
with:
49-
name: Plugin DLL
50-
path: RemoteKeycard\bin\Release\RemoteKeycard*.dll
50+
name: Plugin-${{ matrix.target }}
51+
path: RemoteKeycard\bin\${{ matrix.target }}\RemoteKeycard-${{ matrix.target }}.dll

0 commit comments

Comments
 (0)