File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,26 +52,12 @@ jobs:
5252 uses : actions/checkout@v4
5353 with :
5454 path : Artemis
55- - name : Checkout Plugins
56- uses : actions/checkout@v4
57- with :
58- repository : Artemis-RGB/Artemis.Plugins
59- path : Artemis.Plugins
6055 - name : Setup .NET
6156 uses : actions/setup-dotnet@v4
6257 with :
6358 dotnet-version : ' 9.0.x'
6459 - name : Publish Artemis
6560 run : dotnet publish --configuration Release -p:Version=${{ needs.version.outputs.version-number }} --runtime ${{ matrix.rid }} --output build/${{ matrix.rid }} --self-contained Artemis/src/Artemis.UI.${{ matrix.csproj }}/Artemis.UI.${{ matrix.csproj }}.csproj
66- - name : Publish Plugins
67- run : |
68- New-Item -ItemType "Directory" -Path build/${{ matrix.rid }}/Plugins/
69- Get-ChildItem -File -Recurse -Filter *.csproj Artemis.Plugins/src/ |
70- Foreach-Object -Parallel {
71- dotnet publish --configuration Release --runtime ${{ matrix.rid }} --output build-plugins/$($_.BaseName) --no-self-contained $($_.FullName);
72- Compress-Archive -Path "build-plugins/$($_.BaseName)" -DestinationPath "build/${{ matrix.rid }}/Plugins/$($_.BaseName).zip";
73- }
74- shell : pwsh
7561 - name : Upload Artifact
7662 uses : actions/upload-artifact@v4
7763 with :
You can’t perform that action at this time.
0 commit comments