Skip to content

Commit

Permalink
Updated msbuild project targets to include missing dependencies in zi…
Browse files Browse the repository at this point in the history
…pped release
  • Loading branch information
REHERC committed Jul 30, 2021
1 parent 2a464f3 commit 189cfaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
run: nuget restore $env:SOLUTION
- name: Build Solution
run: msbuild $env:SOLUTION -m
- name: Check Current File Tree
shell: pwsh
run: |
tree "${{ github.workspace }}" /f /a
- name: Format Artifact List
id: artifacts
uses: frabert/[email protected]
Expand Down
7 changes: 7 additions & 0 deletions Distance.UnityExplorer/Distance.UnityExplorer.targets
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,12 @@
/>
<MakeDir Directories="$(ContentDependencies)"/>
<Move SourceFiles="$(UE_ArtifactPath).dll" DestinationFolder="$(ContentDependencies)"/>

<!-- "Recreate" the @ModContent item group as it may be missing the File downloaded above -->
<!-- The file may be missing from the group when it is downloaded for the first time -->
<!-- This happens because the original item group is evaluated before the target is run -->
<ItemGroup>
<ModContent Include="$(ProjectDir)\..\$(ProjectName).Content\Mod\**\*.*"/>
</ItemGroup>
</Target>
</Project>

0 comments on commit 189cfaf

Please sign in to comment.