Skip to content

Commit bb43b8f

Browse files
committed
Fix workflows
1 parent 9004ce3 commit bb43b8f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/actions/project-build/run-command-for-every-tests-project.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
$projectPath = $args[0]
1414
$projectName = Split-Path -Path $projectPath -Leaf
1515
$testsFolderPath = Join-Path -Path $projectPath -ChildPath "../tests"
16+
$global:exitCode = 0
1617

1718
$commandToExecute = $args[1]
1819

@@ -23,4 +24,7 @@ Get-ChildItem -Path $testsFolderPath -Directory -Recurse `
2324
$testsProjectPath = Join-Path -Path $testsFolderPath -ChildPath $testsProjectName
2425
Write-Output "Tests project found: $testsProjectPath. Executing a command: $commandToExecute"
2526
bash -c "PROJECT_PATH=$testsProjectPath && $commandToExecute"
27+
if ($LASTEXITCODE -ne 0) {
28+
$global:exitCode = $LASTEXITCODE
29+
}
2630
}

.github/workflows/RedistTool.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ jobs:
5555
path: "./src/UnturnedRedistUpdateTool/bin/Release/net9.0/linux-x64/UnturnedRedistUpdateTool/UnturnedRedistUpdateTool.zip"
5656
if-no-files-found: error
5757

58-
- name: Upload UnturnedRedistUpdateTool
59-
uses: actions/upload-artifact@v4
60-
with:
61-
name: UnturnedRedistUpdateTool.zip
62-
path: "./src/UnturnedRedistUpdateTool/bin/Release/net9.0/linux-x64/UnturnedRedistUpdateTool/UnturnedRedistUpdateTool.zip"
63-
if-no-files-found: error
64-
6558
- name: Create Release
6659
if: github.event_name == 'create' && github.event.ref_type == 'tag'
6760
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)