Add GitHub Actions workflow that renders and commits spec pdfs (#579)

* Add GitHub Actions workflow that renders and commits the spec pdfs

* Try to run make

* Try our custom action

* Add link to Dockerfile to make action happy

* Update render workflow to manual render only

* Update .github/actions/render-protocol-pdf/action.yml

* Update .github/dependabot.yml
This commit is contained in:
Deirdre Connolly 2022-02-09 16:34:55 -05:00 committed by GitHub
parent 81af218ef3
commit f56cf0d38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1 @@
../../../Dockerfile

View File

@ -0,0 +1,7 @@
name: Render Zcash Protocol Specification
description: GitHub Action to compile Zcash Protocol Specification LaTeX documents
author: Deirdre Connolly
runs:
using: docker
# Runs `make all` or something like it
image: Dockerfile

10
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
timezone: America/New_York
open-pull-requests-limit: 10
labels:
- "A-CI"

19
.github/workflows/render.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Render pdfs
on: workflow_dispatch
jobs:
render:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile Zcash Protocol Specification
uses: ./.github/actions/render-protocol-pdf
- uses: EndBug/add-and-commit@v7.5.0
with:
add: '**/*.pdf'
default_author: github_actions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ protocol/saplinghtml/
protocol/heartwood.pdf
protocol/protocol.ver
*~