Skip to content

Assert Reference Manual generated content is in sync with template #4

Assert Reference Manual generated content is in sync with template

Assert Reference Manual generated content is in sync with template #4

name: Check and Regenerate Reference Manual
on:
pull_request:
#paths:
# Deliberately overwrite manual modifications
#- 'Reference_Manual.md'
#- 'Reference_Manual.md.in'
# When the version changes
#- 'CMakeLists.txt'
jobs:
regenerate-manual:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
#with:
#token: ${{ secrets.GITHUB_TOKEN }}
#ref: ${{ github.head_ref }}
- name: Regenerate
run: |
cmake -S . -B build
#- uses: ./.github/actions/build-test/ubuntu-x86_64
# with:
# GH_TOKEN:
# BOOST_VERSION: 1.89.0
# THRIFT_VERSION: 0.13.0
# BUILD_TYPE: Release
# SHARED_LIBS_TOGGLE: ON
# OPENSSL_TOGGLE: OFF
# RUN_TESTS: false
# HAZELCAST_ENTERPRISE_KEY:
# AWS_ACCESS_KEY_ID:
# AWS_SECRET_ACCESS_KEY:
# HZ_TEST_AWS_INSTANCE_PRIVATE_IP:
- name: Commit
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add Reference_Manual.md
git push
git commit -m "Regenerate reference manual from template"
git push