File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 16
16
MUPDF_VERSION : 1.24.10
17
17
18
18
jobs :
19
- test :
19
+ build :
20
20
runs-on : ubuntu-latest
21
21
container : amazonlinux:2023
22
22
steps :
23
+ - uses : actions/setup-node@v4
24
+ with :
25
+ node-version : 20
26
+
23
27
- name : Install the necessary tools
24
28
run : |
25
29
yum update -y
46
50
zip -r9 ../mupdf-layer.zip .
47
51
cd ..
48
52
53
+ - name : Upload the layer to GitHub Actions Artifacts
54
+ uses : actions/upload-artifact@v4
55
+ with :
56
+ name : mupdf-layer
57
+ path : mupdf-layer.zip
58
+
49
59
- name : Login to AWS
50
60
if : github.event_name == 'release'
51
61
run : |
65
75
--layer-name mupdf \
66
76
--content S3Bucket=${{ secrets.S3_BUCKET }},S3Key=mupdf-layer.zip \
67
77
--description "MuPDF CLI tools v${{ env.MUPDF_VERSION }}"
78
+
79
+ - name : Upload to GitHub Releases
80
+ uses : svenstaro/upload-release-action@v2
81
+ if : github.event_name == 'release'
82
+ with :
83
+ file : mupdf-layer.zip
You can’t perform that action at this time.
0 commit comments