-
Notifications
You must be signed in to change notification settings - Fork 3
61 lines (57 loc) · 1.48 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Release
on:
push:
tags: "*"
jobs:
l3build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
package_file: .github/tl_packages
- name: Run l3build
run: l3build ctan --show-log-on-error -H
- name: Upload package artifact
uses: actions/upload-artifact@v4
with:
name: Package
path: "build/distrib/ctan/*.zip"
github:
runs-on: ubuntu-22.04
needs:
- l3build
steps:
- name: Download package artifact
uses: actions/download-artifact@v4
with:
name: Package
- name: Create GitHub release
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
with:
artifacts: "*.zip"
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
ctan-validate:
runs-on: ubuntu-22.04
needs:
- l3build
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
sparse-checkout:
- .github
- name: Download package artifact
uses: actions/download-artifact@v4
with:
name: Package
- name: Validate CTAN package
uses: ./.github/actions/ctan-upload/action.yaml
with:
uploader: Dummy Name
email: [email protected]
filename: lua-ul-ctan.zip
dry-run: true