Skip to content

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

Assert Reference Manual generated content is in sync with template

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

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:
# https://github.com/orgs/community/discussions/24945#discussioncomment-3245946
- name: Checkout PR
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/build-test/ubuntu-x86_64
with:
GH_TOKEN: ${{ secrets.GITHUB_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 commit -m "Regenerate reference manual from template"
git push