File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build
1+ name : Build
22
33on :
44 push :
1414jobs :
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
You can’t perform that action at this time.
0 commit comments