bsp: Introduce bsp manual for i.MX 93 (#156) #4
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: Release | |
# Build a release and attach the generated PDF as GitHub asset. | |
# The release tag should be in the following format: imx8mx-pd23.1.0 | |
# | |
# This action generates a draft release with generated pdfs for all platforms | |
# and versions. The release has to be converted to a final release manuall via | |
# GitHub: | |
# - remove not required PDF files | |
# - convert to final release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Clone repo with all tags (required for git describe) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install tox texlive-latex-extra texlive-xetex latexmk python3-pip -y | |
pip3 install -r requirements/setup.txt | |
- name: Build PDF Documentation | |
run: tox -e py3-pdf | |
######## CREATE RELEASE and UPLOAD BUILD ARTIFACTS ######## | |
- name: Extract tag name | |
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: Upload Release Assets | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
draft: true | |
prerelease: false | |
name: ${{ env.TAG_NAME }} | |
files: build/pdf/latex/*.pdf |