fix: Infinite loop on invalid preprocessor operands #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2019 Broadcom. | |
# The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. | |
# | |
# This program and the accompanying materials are made | |
# available under the terms of the Eclipse Public License 2.0 | |
# which is available at https://www.eclipse.org/legal/epl-2.0/ | |
# | |
# SPDX-License-Identifier: EPL-2.0 | |
# | |
# Contributors: | |
# Broadcom, Inc. - initial API and implementation | |
# | |
name: Wiki | |
on: | |
push: | |
branches: | |
- development | |
defaults: | |
run: | |
shell: sh | |
jobs: | |
docs-to-wiki: | |
name: Publish documentation to wiki | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout base code | |
uses: actions/checkout@v4 | |
with: | |
path: base | |
persist-credentials: false | |
- name: Checkout wiki code | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{github.repository}}.wiki | |
path: wiki | |
- name: Upload Documentation to Wiki | |
run: | | |
cd wiki | |
rm -rf * | |
cp -r ../base/docs/* ./ | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
git add . | |
git diff-index --quiet HEAD || git commit -m "Automatically publish wiki" && git push |