commit 3a29f791a97458e4b3ce4cc6f1d1744112291a1c
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2026-06-10T15:54:39Z |
| subject | Fixed freebsd version missing |
commit 3a29f791a97458e4b3ce4cc6f1d1744112291a1c
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2026-06-10T15:54:39Z
Fixed freebsd version missing
---
.github/workflows/cmake-multi-platform.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index 55a33ae..bb91289 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -85,6 +85,7 @@ jobs:
- &set_build_version
name: Set Build Version
+ id: set_build_version
run: |
if [ "${GITHUB_REF_TYPE:-}" = "tag" ]; then
BUILD_VER="${GITHUB_REF_NAME}"
@@ -92,6 +93,7 @@ jobs:
BUILD_VER="dev-${GITHUB_SHA::12}"
fi
echo "BUILD_VER=${BUILD_VER}" >> "$GITHUB_ENV"
+ echo "build_ver=${BUILD_VER}" >> "$GITHUB_OUTPUT"
echo "Build version: ${BUILD_VER}"
- &build_static
@@ -265,6 +267,9 @@ jobs:
run: |
set -eu
+ BUILD_VER="${{ steps.set_build_version.outputs.build_ver }}"
+ echo "Build version: ${BUILD_VER}"
+
gmake clean all EXTRA_CFLAGS="-Og -g3 -Wpedantic"
# BSD is running in a VM. Lower the requirements.