Correct applicationCategory & operatingSystem #774
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
--- | |
name: suse-xsl CI | |
on: | |
push: | |
branches-ignore: | |
- gh-pages | |
pull_request: | |
branches-ignore: | |
- gh-pages | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
# env: | |
# PATH: .:$PATH | |
# LD_PRELOAD: /lib/x86_64-linux-gnu/libSegFault.so | |
# DBXSL: http://docbook.sourceforge.net/release/xsl/current | |
runs-on: ubuntu-latest | |
steps: | |
- name: Output env variables | |
run: | | |
# Just for debugging purposes. Can be removed once it's stable | |
echo "Default branch=${default-branch}" | |
echo "GITHUB_WORKFLOW=${GITHUB_WORKFLOW}" | |
echo "GITHUB_ACTION=$GITHUB_ACTION" | |
echo "GITHUB_ACTIONS=$GITHUB_ACTIONS" | |
echo "GITHUB_ACTOR=$GITHUB_ACTOR" | |
echo "GITHUB_REPOSITORY=$GITHUB_REPOSITORY" | |
echo "GITHUB_EVENT_NAME=$GITHUB_EVENT_NAME" | |
echo "GITHUB_EVENT_PATH=$GITHUB_EVENT_PATH" | |
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" | |
echo "GITHUB_SHA=$GITHUB_SHA" | |
echo "GITHUB_REF=$GITHUB_REF" | |
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_REF" | |
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF" | |
echo "::debug::---Start content of file $GITHUB_EVENT_PATH" | |
cat $GITHUB_EVENT_PATH | |
echo "\n" | |
echo "::debug::---end" | |
- name: Run update | |
run: sudo apt-get update --yes | |
- name: Install dependencies | |
run: | | |
sudo apt-get install --fix-missing -y jing libbatik-java libavalon-framework-java \ | |
xml-core libxml2-utils docbook docbook-xsl parallel | |
- uses: actions/checkout@v3 | |
- name: XML catalog | |
env: | |
DBXSL: http://docbook.sourceforge.net/release/xsl/current | |
run: | | |
xmlcatalog /etc/xml/catalog "$DBXSL/common/entities.ent" | |
xmlcatalog /etc/xml/catalog "$DBXSL/xhtml/docbook.xsl" | |
- name: Validate | |
run: ./tests/validate-xslt -j |