We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf7ed80 commit 4759d03Copy full SHA for 4759d03
.github/workflows/dmxc.yml
@@ -51,6 +51,12 @@ jobs:
51
52
- name: Copy Artifacts
53
run: |
54
+ If(Test-Path -Path dmxcplug.json) {
55
+ $dmxcplug = (Get-Content "dmxcplug.json" | ConvertFrom-Json)
56
+ $filter = Get-ChildItem "temp/" -Name
57
+ foreach($type in $dmxcplug.type) { New-Item -ItemType "directory" -Path "dist/${type}/${{env.PluginName}}" }
58
+ foreach($type in $dmxcplug.type) { Get-ChildItem "bin/Release" -Name | where {$filter -NotContains $_} | %{ Copy-Item -Path "bin/Release/${_}" -Destination "dist/${type}/${{env.PluginName}}/${_}"} }
59
+ }
60
foreach ($folder in Get-ChildItem -Directory) {
61
If(Test-Path -Path $folder/dmxcplug.json) {
62
$dmxcplug = (Get-Content "${folder}/dmxcplug.json" | ConvertFrom-Json)
0 commit comments