Skip to content

23-019 document update #10

23-019 document update

23-019 document update #10

Workflow file for this run

# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: ubuntu
on:
push:
branches: [ master, main ]
pull_request:
paths-ignore:
- .gitlab-ci.yml
- .github/workflows/test.yml
- .github/workflows/macos.yml
- .github/workflows/docker.yml
- .github/workflows/windows.yml
- .github/workflows/docker-pres_xml.yml
jobs:
test-linux:
name: Test on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || github.token }}
submodules: true
- uses: actions/cache@v2
with:
path: ~/.cache/xml2rfc
key: xml2rfc
restore-key: xml2rfc
- name: Use Metanorma
run: |
sudo apt-get update
curl -L https://raw.githubusercontent.com/metanorma/metanorma-linux-setup/master/ubuntu.sh | sudo bash
sudo chown -R $USER:$(id -gn $USER) $HOME/.config
- run: sudo snap install yq
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- run: gem install relaton-cli
- run: metanorma site generate sources
env:
JAVA_OPTS: "java.awt.headless=true"