Skip to content

Merge pull request #2 from jgcumming/main #7

Merge pull request #2 from jgcumming/main

Merge pull request #2 from jgcumming/main #7

Workflow file for this run

name: Build RFC
on:
push:
branches: [ "main" ]
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Compile draft or RFC
run: |
mkdir -p build
for file in draft-*.xml; do
xml2rfc --text --html -b build $file
done
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: draft-ietf-netconf-privcand
path: |
build/*.txt
build/*.html
retention-days: 5