Skip to content

Commit d15f46b

Browse files
Merge pull request #215 from StartAutomating/obs-updates
obs-powershell 0.2
2 parents fdc856e + e51fd3c commit d15f46b

File tree

2,134 files changed

+286534
-19516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,134 files changed

+286534
-19516
lines changed

.github/workflows/build-obs-powershell.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
Install-Module -Name Pester -Repository PSGallery -Force -Scope CurrentUser -MaximumVersion $PesterMaxVersion -SkipPublisherCheck -AllowClobber
114114
Import-Module Pester -Force -PassThru -MaximumVersion $PesterMaxVersion} @Parameters
115115
- name: Check out repository
116-
uses: actions/checkout@v2
116+
uses: actions/checkout@v4
117117
- name: RunPester
118118
id: RunPester
119119
shell: pwsh
@@ -170,9 +170,6 @@ jobs:
170170
$result =
171171
Invoke-Pester -PassThru -Verbose -OutputFile ".\$moduleName.TestResults.xml" -OutputFormat NUnitXml @codeCoverageParameters
172172
173-
"::set-output name=TotalCount::$($result.TotalCount)",
174-
"::set-output name=PassedCount::$($result.PassedCount)",
175-
"::set-output name=FailedCount::$($result.FailedCount)" | Out-Host
176173
if ($result.FailedCount -gt 0) {
177174
"::debug:: $($result.FailedCount) tests failed"
178175
foreach ($r in $result.TestResult) {
@@ -184,7 +181,7 @@ jobs:
184181
}
185182
} @Parameters
186183
- name: PublishTestResults
187-
uses: actions/upload-artifact@v2
184+
uses: actions/upload-artifact@main
188185
with:
189186
name: PesterResults
190187
path: '**.TestResults.xml'

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Build/Dependency/obs-shaderfilter"]
2+
path = Build/Dependency/obs-shaderfilter
3+
url = https://github.com/exeldro/obs-shaderfilter.git

Build/Dependency/obs-shaderfilter

Submodule obs-shaderfilter added at f817637
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@{
2+
name = 'PublishTestResults'
3+
uses = 'actions/upload-artifact@main'
4+
with = @{
5+
name = 'PesterResults'
6+
path = '**.TestResults.xml'
7+
}
8+
if = '${{always()}}'
9+
}
10+

0 commit comments

Comments
 (0)