mirror of https://github.com/zcash/zips.git
Compare commits
7 Commits
b7c8987836
...
34dbc4b870
Author | SHA1 | Date |
---|---|---|
|
34dbc4b870 | |
|
5273fc9c99 | |
|
bf6c166940 | |
|
2e9272e850 | |
|
6a0a93c020 | |
|
250425e54a | |
|
b8ba2282c2 |
|
@ -1 +0,0 @@
|
||||||
../../../Dockerfile
|
|
|
@ -1,7 +0,0 @@
|
||||||
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,7 @@
|
||||||
|
name: Render ZIPs and Zcash Protocol Specification
|
||||||
|
description: GitHub Action to compile ZIPs and Zcash Protocol Specification LaTeX documents
|
||||||
|
author: Deirdre Connolly
|
||||||
|
runs:
|
||||||
|
using: docker
|
||||||
|
# Runs `make all` or something like it
|
||||||
|
image: ../../../Dockerfile
|
|
@ -1,19 +1,23 @@
|
||||||
name: Render pdfs
|
name: Build tex and rst
|
||||||
|
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
render:
|
render:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Git repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4.1.2
|
||||||
|
|
||||||
- name: Compile Zcash Protocol Specification
|
- name: Compile ZIPs and Zcash Protocol Specification
|
||||||
uses: ./.github/actions/render-protocol-pdf
|
uses: ./.github/actions/render
|
||||||
|
|
||||||
- uses: EndBug/add-and-commit@v9.1.3
|
- uses: EndBug/add-and-commit@v9.1.3
|
||||||
with:
|
with:
|
||||||
add: '**/*.pdf'
|
add: 'protocol/*.pdf *.html'
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update
|
||||||
&& apt-get install -y \
|
RUN apt-get install -y \
|
||||||
gawk \
|
gawk \
|
||||||
perl \
|
perl \
|
||||||
sed \
|
sed \
|
||||||
|
@ -17,7 +17,10 @@ RUN apt-get update \
|
||||||
texlive-plain-generic \
|
texlive-plain-generic \
|
||||||
texlive-bibtex-extra
|
texlive-bibtex-extra
|
||||||
|
|
||||||
RUN pip3 install rst2html5
|
RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED
|
||||||
|
RUN pip install rst2html5
|
||||||
|
|
||||||
|
ENV PATH=${PATH}:/root/.local/bin
|
||||||
|
|
||||||
WORKDIR "/zips"
|
WORKDIR "/zips"
|
||||||
ENTRYPOINT ["make", "all"]
|
ENTRYPOINT ["make", "all"]
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
protocol/nu5.pdf
BIN
protocol/nu5.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue