mirror of https://github.com/zcash/zips.git
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:
parent
81af218ef3
commit
f56cf0d38e
|
@ -0,0 +1 @@
|
|||
../../../Dockerfile
|
|
@ -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
|
|
@ -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"
|
|
@ -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
|
|
@ -29,3 +29,4 @@ protocol/saplinghtml/
|
|||
|
||||
protocol/heartwood.pdf
|
||||
protocol/protocol.ver
|
||||
*~
|
||||
|
|
Loading…
Reference in New Issue