Fix and rename GitHub Action workflow #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build tex and rst | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
render: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
if: github.event_name != 'pull_request' | |
- name: Checkout repo for PR | |
uses: actions/[email protected] | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
if: github.event_name == 'pull_request' | |
- name: Compile ZIPs and Zcash Protocol Specification | |
uses: ./.github/actions/render | |
- uses: EndBug/[email protected] | |
with: | |
add: 'protocol/*.pdf *.html' | |
default_author: github_actions |