name: release on: push: tags: - '*' jobs: generate: runs-on: docker steps: - name: Set up Git repository uses: actions/checkout@v3 - name: Update packages run: apt update - name: Install tex run: apt update && export DEBIAN_FRONTEND=noninteractive && apt install texlive texlive-xetex texlive-fonts-extra texlive-luatex -y - name: Compile document run: lualatex --output-format=pdf cv release: runs-on: docker steps: - name: Create release uses: https://gitea.com/actions/release-action@main with: files: |- cv.pdf api_key: '${{secrets.RELEASE_TOKEN}}'