Build tex version #5
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
# Validate the file using e.g. | |
# https://rhysd.github.io/actionlint/ | |
name: Build tex version | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'md_version/**' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup pandoc ⚙️ | |
run: | | |
wget https://github.com/jgm/pandoc/releases/download/3.5/pandoc-3.5-1-amd64.deb | |
sudo dpkg -i pandoc-3.5-1-amd64.deb | |
- name: Build 🏗️ | |
run: | | |
pwd | |
ls | |
cd md_version/ | |
cd ${{ github.workspace }}/md_version/ | |
make tex | |
cd ../ | |
zip -r tex_version.zip tex_version | |
zip -r md_version.zip md_version | |
- name: Create package 🎁 | |
uses: crowbarmaster/GH-Automatic-Releases@latest | |
with: | |
automatic_release_tag: "latest" | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
prerelease: true | |
draft: false | |
files: tex_version.zip | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3.0.1 | |
with: | |
path: public |