From 328c87204f0627b8ef1314bd106972b05d4c4f11 Mon Sep 17 00:00:00 2001 From: InfinityWei <31464143+InfinityWei@users.noreply.github.com> Date: Sat, 6 Jul 2024 13:59:56 +0800 Subject: [PATCH] Update autobuild.yaml --- .github/workflows/autobuild.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autobuild.yaml b/.github/workflows/autobuild.yaml index 6867547..ea54f5f 100644 --- a/.github/workflows/autobuild.yaml +++ b/.github/workflows/autobuild.yaml @@ -5,6 +5,8 @@ # Because the build takes more than an hour, our GITHUB_TOKEN credentials may # expire. A token `secrets.RELEASE_TOKEN` must exist with public_repo scope. name: Build release binaries +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true on: # Run weekly on sunday at 21:37 UTC (arbitrary) schedule: @@ -156,7 +158,7 @@ jobs: "-DgRPC_MSVC_STATIC_RUNTIME=ON" binary_extension: ".exe" - name: mac - os: macos-latest + os: macos-12 preinstall: brew install ninja zlib p7zip cflags: -O3 -gline-tables-only -DNDEBUG cmake: >- @@ -179,7 +181,7 @@ jobs: wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && apt-get update && - apt-get install -y git cmake + apt-get install -y git cmake python3.8 python3.8-dev cflags: -O3 -gline-tables-only -DNDEBUG -include $GITHUB_WORKSPACE/.github/workflows/lib_compat.h cmake: >- "-DCMAKE_C_COMPILER=clang-9"