Skip to content

Bump rojopolis/spellcheck-github-actions from 0.44.0 to 0.46.0 #78

Bump rojopolis/spellcheck-github-actions from 0.44.0 to 0.46.0

Bump rojopolis/spellcheck-github-actions from 0.44.0 to 0.46.0 #78

Workflow file for this run

name: Publish document
on:
pull_request:
types:
- labeled
env:
FOLDER: June2022
jobs:
publish:
if: github.event.label.name == 'publish'
runs-on: ubuntu-latest
name: Publish Document
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Publish PDF Document
run: |
sudo apt-get update
sudo apt-get install texlive-full
wget https://github.com/jgm/pandoc/releases/download/2.14.0.3/pandoc-2.14.0.3-1-amd64.deb
sudo dpkg -i pandoc-2.14.0.3-1-amd64.deb
cd "$FOLDER"
pandoc -d pandoc_defaults.yaml
- name: set env variables for inputs
id: set-env
run: |
echo ::set-output name=dir::$FOLDER
echo ::set-output name=name::"$FOLDER.pdf"
echo ::set-output name=path::"$FOLDER/$FOLDER.pdf"
- name: Upload Document
uses: actions/upload-artifact@v4
id: upload-document
with:
name: ${{ steps.set-env.outputs.name }}
path: ${{ steps.set-env.outputs.path }}
- name: Pull request artifacts
uses: gavv/[email protected]
with:
commit: ${{ github.event.pull_request.head.sha }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifacts-dir: ${{ steps.set-env.outputs.dir }}
artifacts-branch: editorial
artifacts: |
${{ steps.set-env.outputs.path }}