This is an automated email from the ASF dual-hosted git repository. EmryZhang pushed a commit to branch prepare/net-release-workflow in repository https://gitbox.apache.org/repos/asf/casbin-Casbin.NET.git
commit e26845f16fb2df4e41d4f8092feab603d12363ac Author: Zhangyanrui123 <[email protected]> AuthorDate: Sat Nov 7 23:44:53 2026 +0800 ci: fail the package build when package validation fails --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ed526b..9d0e8f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,7 @@ jobs: if($LastExitCode -ne 0) { Write-Warning -Message "Can not upload coverage, last exit code is ${LastExitCode}." - $LastExitCode = 0; + } - name: Upload test results artefacts @@ -143,7 +143,7 @@ jobs: if($LastExitCode -ne 0) { Write-Warning -Message "Pack packages warming, last exit code is ${LastExitCode}." - $LastExitCode = 0; + } - name: Upload packages artefacts --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
