ci: fix Trust step — add shell: bash (act runner defaults to sh, no pipefail)
CI/CD / CI · API (dotnet build + test) (push) Successful in 43s
CI/CD / CI · Admin API (dotnet build) (push) Failing after 2s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m6s
CI/CD / CI · Admin Web (tsc) (push) Successful in 38s
CI/CD / CI · Website (tsc) (push) Successful in 45s
CI/CD / CI · Koja (tsc) (push) Successful in 49s
CI/CD / Deploy · all services (push) Has been skipped
CI/CD / CI · API (dotnet build + test) (push) Successful in 43s
CI/CD / CI · Admin API (dotnet build) (push) Failing after 2s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m6s
CI/CD / CI · Admin Web (tsc) (push) Successful in 38s
CI/CD / CI · Website (tsc) (push) Successful in 45s
CI/CD / CI · Koja (tsc) (push) Successful in 49s
CI/CD / Deploy · all services (push) Has been skipped
set -euo pipefail is bash-only; Gitea act runner used sh by default so the step crashed on line 1 before curl even ran. Adding shell: bash lets the step actually execute and surface the real AIA/cert output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Trust Nexus mirror CA (diagnostic)
|
- name: Trust Nexus mirror CA (diagnostic)
|
||||||
# Verbose / fail-fast version to expose exactly where the chain trust breaks.
|
# Verbose / fail-fast version to expose exactly where the chain trust breaks.
|
||||||
# Step exits non-zero on any unexpected failure so the CI log shows the cause.
|
# shell: bash required — Gitea act runner defaults to sh, which lacks pipefail.
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
echo "=== OS / OpenSSL info ==="
|
echo "=== OS / OpenSSL info ==="
|
||||||
|
|||||||
Reference in New Issue
Block a user