Skip to content

[pre-commit.ci] pre-commit autoupdate #63

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #63

Workflow file for this run

---
# yamllint disable-line rule:truthy
on:
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
env:
path: build/distrib/*/*.zip
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: xu-cheng/texlive-action/full@v1
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
with:
run: |
l3build ctan
- uses: actions/upload-artifact@v3
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
with:
path: |
${{ env.path }}
- uses: xu-cheng/texlive-action/full@v1
if: startsWith(github.ref, 'refs/tags/')
with:
run: |
apk add git
git config --global --add safe.directory '*'
l3build tag $(git tag | tail -n1)
l3build ctan
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ env.path }}