Let's attempt to fix the path to the library on GH Actions...
Some checks are pending
CI/CD / build (push) Waiting to run
Some checks are pending
CI/CD / build (push) Waiting to run
This commit is contained in:
parent
86b8025090
commit
57f1e2b75b
2 changed files with 14 additions and 6 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -23,7 +23,13 @@ jobs:
|
|||
|
||||
- name: Install tools
|
||||
run: dotnet tool install --global vpk
|
||||
|
||||
|
||||
- name: Build Core.Windows
|
||||
run: dotnet build src/Plpext/Plpext.Core.Windows/Plpext.Core.Windows.csproj --configuration Release --no-restore
|
||||
|
||||
- name: Build UI
|
||||
run: dotnet build src/Plpext/Plpext.UI/Plpext.UI.csproj --configuration Release --no-restore
|
||||
|
||||
- name: Dotnet publish
|
||||
run: dotnet publish src/Plpext/Plpext.UI/Plpext.UI.csproj -c Release -r win-x64 -o publish
|
||||
|
||||
|
|
|
@ -66,10 +66,12 @@
|
|||
<None Remove="ViewModels\Mocks\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="CopyOpenALToPublish" AfterTargets="Publish">
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)..\..\Plpext.Core.Windows\bin\x64\Release\net8.0\OpenAL32.dll"
|
||||
DestinationFolder="$(PublishDir)" />
|
||||
<Message Text="OpenAL32.dll copied to publish directory: $(PublishDir)" Importance="high" />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<Content Include="$(MSBuildThisFileDirectory)..\..\Plpext.Core.Windows\lib\x64\OpenAL32.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
|
||||
<Link>OpenAL32.dll</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Loading…
Reference in a new issue