-
Notifications
You must be signed in to change notification settings - Fork 2
/
AdoptOpenJDK13_OpenJ9_Signed.download.recipe
72 lines (72 loc) · 2.04 KB
/
AdoptOpenJDK13_OpenJ9_Signed.download.recipe
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
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the current release version of AdoptOpenJDK 13 OpenJ9. Recipe created by Charles Mission.</string>
<key>Identifier</key>
<string>com.github.jelockwood.recipes.download.AdoptOpenJDK13_OpenJ9_Signed</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>AdoptOpenJDK 13 OpenJ9</string>
<key>STOPPROCESSINGIF_PREDICATE</key>
<string>download_changed == False</string>
</dict>
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
<string>(?P<match>AdoptOpenJDK\/openjdk12-binaries\/releases\/download\/jdk13.*?\/OpenJDK13U-jdk_x64_mac_openj9_.*?\.pkg)</string>
<key>url</key>
<string>https://github.com/AdoptOpenJDK/openjdk13-binaries/releases</string>
</dict>
<key>Processor</key>
<string>URLTextSearcher</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>url</key>
<string>https://github.com/%match%</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>predicate</key>
<string>%STOPPROCESSINGIF_PREDICATE%</string>
</dict>
<key>Comment</key>
<string>Checks if the file already exists in the cache</string>
<key>Processor</key>
<string>StopProcessingIf</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: London Jamocha Community CIC (VDX7B37674)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>input_path</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>