File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : generate-pdf-actions
2
+ on : [push]
3
+ jobs :
4
+ concurrency-primer :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v4
8
+ continue-on-error : true
9
+ - name : install-texlive
10
+ run : |
11
+ sudo apt-get install -q -y texlive-full texlive-latex-base
12
+ shell : bash
13
+ - uses : actions/setup-python@v5
14
+ with :
15
+ python-version : ' 3.10'
16
+ - name : install-pygments
17
+ run : |
18
+ python -m pip install --upgrade pip
19
+ pip install pygments
20
+ - name : make
21
+ run : make
22
+ - name : create Release
23
+ id : create_Release
24
+ uses : actions/create-release@v1
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ with :
28
+ tag_name : ${{ github.ref_name }}
29
+ release_name : Release ${{ github.ref_name }}
30
+ body : |
31
+ Changes in this Release
32
+ - name : Upload Release Asset
33
+ id : upload-release-asset
34
+ uses : actions/upload-release-asset@v1
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+ with :
38
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
39
+ asset_path : ./concurrency-primer.pdf
40
+ asset_name : concurrency-primer.pdf
41
+ asset_content_type : application/pdf
42
+
You can’t perform that action at this time.
0 commit comments