Skip to content

Translated using Weblate (Turkish) (#46) #65

Translated using Weblate (Turkish) (#46)

Translated using Weblate (Turkish) (#46) #65

Workflow file for this run

name: Build
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare environment
shell: bash
run: |
sudo apt-get update -qq
sudo apt-get install -qq pandoc librsvg2-bin bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev libwebp-dev fonts-lyx po4a fonts-noto-core
sudo gem install mathematical:1.6.18 asciidoctor-pdf asciidoctor-bibtex asciidoctor-diagram asciimath asciidoctor-mathematical
sudo npm install -g @linthtml/linthtml
- name: Run po4a
shell: bash
run: |
po4a --verbose po4a.cfg
po4a --verbose metadata/common/infectious-agents/po4a.cfg
- name: Build
shell: pwsh
run: ./scripts/Make-NeoIPC-Core-Protocol.ps1 -InformationAction Continue -WarningAction:Stop
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: NeoIPC-Docs-Preview
path: ./artifacts/