Skip to content

Commit

Permalink
Change gh-action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanb58 committed Jun 6, 2023
1 parent 6b055ce commit aa29c10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/export-to-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
pac solution init --publisher-name PowerAccelerator --publisher-prefix mpa --outputDirectory ./YOURNAMEHERE
$cdsprojFilePath = "./Solutions/${{ github.event.inputs.solution_name }}/${{ github.event.inputs.solution_name }}.cdsproj"
[xml]$xmlDoc = Get-Content $cdsprojFilePath
$propertyGroup = $xmlContent.CreateElement("PropertyGroup")
$solutionPackageType = $xmlContent.CreateElement("SolutionPackageType")
$solutionPackageType.InnerText = 'Both'
$propertyGroup = $xmlDoc.CreateElement("PropertyGroup")
$solutionPackageType = $xmlDoc.CreateElement("SolutionPackageType")
$solutionPackageType.InnerText = "Both"
$propertyGroup.AppendChild($solutionPackageType)
$xmlContent.Project.AppendChild($propertyGroup)
$xmlDoc.Project.AppendChild($propertyGroup)
$xmlDoc.Save($cdsprojFilePath)
}
Expand Down

0 comments on commit aa29c10

Please sign in to comment.