Release #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
on: | |
push: | |
branches: | |
- release | |
tags: | |
- "v*" | |
name: Release | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: checkout code | |
- uses: xu-cheng/texlive-action/full@v1 | |
with: | |
run: | | |
apk add zip diffutils | |
l3build ctan | |
name: build package | |
- name: check if generated files are of latest version | |
run: | | |
git diff --exit-code | |
- uses: actions/create-release@latest | |
id: create_release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
body: ${{ github.event.head_commit.message }} | |
draft: true | |
- name: add presenter-ctan.zip | |
uses: actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: texmf/doc/latex/presenter/presenter-doc.pdf | |
asset_name: presenter-doc.pdf | |
asset_content_type: application/pdf | |
- name: add presenter-ctan.zip | |
uses: actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: presenter-ctan.zip | |
asset_name: presenter-ctan.zip | |
asset_content_type: application/x-zip | |
- name: add presenter.tds.zip | |
uses: actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: build/distrib/tds/presenter.tds.zip | |
asset_name: presenter.tds.zip | |
asset_content_type: application/x-zip |