mirror of https://github.com/zcash/zips.git
Compare commits
7 Commits
b7c8987836
...
34dbc4b870
Author | SHA1 | Date |
---|---|---|
Daira-Emma Hopwood | 34dbc4b870 | |
Daira-Emma Hopwood | 5273fc9c99 | |
dependabot[bot] | bf6c166940 | |
Daira-Emma Hopwood | 2e9272e850 | |
github-actions | 6a0a93c020 | |
Andrew Arnott | 250425e54a | |
Andrew Arnott | 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:
|
||||
|
||||
render:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4.1.2
|
||||
|
||||
- name: Compile Zcash Protocol Specification
|
||||
uses: ./.github/actions/render-protocol-pdf
|
||||
- name: Compile ZIPs and Zcash Protocol Specification
|
||||
uses: ./.github/actions/render
|
||||
|
||||
- uses: EndBug/add-and-commit@v9.1.3
|
||||
with:
|
||||
add: '**/*.pdf'
|
||||
add: 'protocol/*.pdf *.html'
|
||||
default_author: github_actions
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y \
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
gawk \
|
||||
perl \
|
||||
sed \
|
||||
|
@ -17,7 +17,10 @@ RUN apt-get update \
|
|||
texlive-plain-generic \
|
||||
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"
|
||||
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