added for H5 step 4
Build IT manual / build-manual (push) Successful in 28s

This commit is contained in:
2026-10-10 20:54:02 +00:00
parent 05ef5690b1
commit 543be42786
+24
View File
@@ -25,6 +25,30 @@ jobs:
- name: Check out the triggering commit - name: Check out the triggering commit
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Generate build metadata
working-directory: manual
env:
GIT_COMMIT: ${{ github.sha }}
BUILD_NUMBER: ${{ github.run_number }}
run: |
MANUAL_VERSION="v1.4"
SHORT_SHA="${GIT_COMMIT:0:7}"
BUILD_ID="${MANUAL_VERSION}+build.${BUILD_NUMBER}.${SHORT_SHA}"
cat > build-metadata.tex <<EOF
\newcommand{\ManualVersion}{${MANUAL_VERSION}}
\newcommand{\BuildIdentifier}{${BUILD_ID}}
\newcommand{\BuildCommit}{${GIT_COMMIT}}
\newcommand{\BuildRunNumber}{${BUILD_NUMBER}}
EOF
cat >> build-metadata.tex <<'EOF'
\noindent\textbf{Manual version:} \ManualVersion\\
\textbf{Build identifier:} \BuildIdentifier\\
\textbf{Commit hash:} \BuildCommit\\
\textbf{Gitea Actions run:} \BuildRunNumber
EOF
- name: Record build identity and toolchain - name: Record build identity and toolchain
run: | run: |
SHORT_SHA="${GITHUB_SHA::7}" SHORT_SHA="${GITHUB_SHA::7}"