Skip to content

Commit 0090f5b

Browse files
author
Monkey365 Assets Pipeline
committed
Publish main from Azure DevOps build 20260423.1
1 parent 22eab96 commit 0090f5b

4 files changed

Lines changed: 202 additions & 187 deletions

File tree

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
name: Create GitHub Release
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v6
18+
with:
19+
ref: ${{ github.ref_name }}
20+
fetch-depth: 0
21+
22+
- name: Build release message
23+
id: release_message
24+
run: |
25+
{
26+
echo 'message<<EOF'
27+
echo "Thanks for following [Monkey365](https://github.com/silverhack/monkey365)! This release was generated automatically for tag ${{ github.ref_name }}."
28+
echo
29+
echo "## Commit"
30+
echo "${{ github.sha }}"
31+
echo 'EOF'
32+
} >> "$GITHUB_OUTPUT"
33+
34+
- name: Create Release
35+
id: create_release
36+
uses: comnoco/create-release-action@v2.0.5
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
tag_name: ${{ github.ref_name }}
41+
release_name: Release ${{ github.ref_name }}
42+
body: ${{ steps.release_message.outputs.message }}
43+
draft: false
44+
prerelease: false
45+
46+
- name: Create ZIP file and checksums
47+
if: steps.create_release.outcome == 'success'
48+
run: |
49+
mkdir -p build
50+
git archive --format zip --output ./build/assets.zip ${{ github.ref_name }}
51+
sha256sum ./build/assets.zip | awk '{print $1}' > ./build/assets.sha256
52+
sha512sum ./build/assets.zip | awk '{print $1}' > ./build/assets.sha512
53+
54+
- name: Upload release assets
55+
if: steps.create_release.outcome == 'success'
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
run: |
59+
gh release upload "${{ github.ref_name }}" ./build/assets.zip ./build/assets.sha256 ./build/assets.sha512

.github/workflows/release.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
![Build (main)](https://dev.azure.com/monkey365/monkey365/_apis/build/status/5?branchName=main)
2+
![Build (develop)](https://dev.azure.com/monkey365/monkey365/_apis/build/status/5?branchName=develop)
3+
![GitHub Release](https://github.com/silverhack/monkey365assets/actions/workflows/create-release.yml/badge.svg)
4+
15
# Monkey365 Assets
26
Assets used in Monkey365 HTML reports. Don't use directly.
37

assets/config.json

Lines changed: 139 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,142 @@
11
{
2-
"head": {
3-
"css": [
4-
{
5-
"tagName": "link",
6-
"properties": [
7-
{
8-
"href": "assets/inc-bootstrap/css/bootstrap.min.css",
9-
"rel": "stylesheet",
10-
"integrity": "sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH",
11-
"crossorigin": "anonymous"
12-
}
13-
]
14-
},
15-
{
16-
"tagName": "link",
17-
"properties": [
18-
{
19-
"href": "assets/inc-bootstrap/icons/bootstrap-icons.min.css",
20-
"rel": "stylesheet",
21-
"integrity": "sha384-XGjxtQfXaH2tnPFa9x+ruJTuLE3Aa6LhHSWRr1XeTyhezb4abCG4ccI5AkVDxqC+",
22-
"crossorigin": "anonymous"
23-
}
24-
]
25-
},
26-
{
27-
"tagName": "link",
28-
"properties": [
29-
{
30-
"href": "assets/inc-fabric-icons/css/fabric-icons.css",
31-
"rel": "stylesheet",
32-
"integrity": "sha384-+o7QMRmwnLuCjmltijZ66KnFR/JWS3FObGU1sarWF6OY4hvhXTiJr+05tve6YXhz",
33-
"crossorigin": "anonymous"
34-
}
35-
]
36-
},
37-
{
38-
"tagName": "link",
39-
"properties": [
40-
{
41-
"href": "assets/inc-datatables/css/datatables.min.css",
42-
"rel": "stylesheet",
43-
"integrity": "sha384-/F3Bo7ZeNleCrEuIV225tNoZWE3PZkctYXfr9sd6ab1LoHrRuR8qF3JPvTyE/a+d",
44-
"crossorigin": "anonymous"
45-
}
46-
]
47-
},
48-
{
49-
"tagName": "link",
50-
"properties": [
51-
{
52-
"href": "assets/inc-highlight/styles/default.min.css",
53-
"rel": "stylesheet",
54-
"integrity": "sha384-4Y0nObtF3CbKnh+lpzmAVdAMtQXl+ganWiiv73RcGVdRdfVIya8Cao1C8ZsVRRDz",
55-
"crossorigin": "anonymous"
56-
}
57-
]
58-
}
59-
],
60-
"JS": [
61-
{
62-
"tagName": "script",
63-
"properties": [
64-
{
65-
"src": "assets/inc-jquery/js/jquery.min.js",
66-
"integrity": "sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs",
67-
"crossorigin": "anonymous"
68-
}
69-
]
70-
},
71-
{
72-
"tagName": "script",
73-
"properties": [
74-
{
75-
"src": "assets/inc-bootstrap/js/bootstrap.bundle.min.js",
76-
"integrity": "sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p",
77-
"crossorigin": "anonymous"
78-
}
79-
]
80-
},
81-
{
82-
"tagName": "script",
83-
"properties": [
84-
{
85-
"src": "assets/inc-datatables/js/datatables.min.js",
86-
"integrity": "sha384-JqCGVRdLOsFc7EVAMnun8cjk+DdhjKD3qT/tfZ+qMBHTD6+oNX3Ot8sb5YdwOjkn",
87-
"crossorigin": "anonymous"
88-
}
89-
]
90-
},
91-
{
92-
"tagName": "script",
93-
"properties": [
94-
{
95-
"src": "assets/inc-highlight/highlight.min.js",
96-
"integrity": "sha384-t1N9zzA3NvyMZQSr1V/UX5rHMZtdo4L1Fi45J+1JnYNQVmAIHYB3IJaFNq4d0Kb8",
97-
"crossorigin": "anonymous"
98-
}
99-
]
100-
},
101-
{
102-
"tagName": "script",
103-
"properties": [
104-
{
105-
"src": "assets/inc-apexcharts/apexcharts.min.js",
106-
"integrity": "sha384-t2NEo3tXGg5o3XZA6klB7RkzBkvmzEiUzxwB10ck/TiOoi8+vKtX3tF/rj3uQ4Wz",
107-
"crossorigin": "anonymous"
108-
}
109-
]
110-
}
111-
],
112-
"theme": [
113-
{
114-
"tagName": "link",
115-
"properties": [
116-
{
117-
"href": "assets/inc-monkey/css/app.css",
118-
"rel": "stylesheet",
119-
"integrity": "sha384-e+EoJbIqkQRpILmLRFWvYSA9it9tH+I0/NOsgV2sdi5JGHrCzdi69xewHK2F8qBo",
120-
"crossorigin": "anonymous"
121-
}
122-
]
123-
}
124-
],
125-
"helpers": [
126-
{
127-
"tagName": "script",
128-
"properties": [
129-
{
130-
"src": "assets/inc-monkey/js/monkey_helper.js",
131-
"integrity": "sha384-xQetIyBbFy0r8sA0nlTnyGrtixsWgm5l/H/R5fbhE9IYGoPjoPSmNU0FACd1g9i2",
132-
"crossorigin": "anonymous"
133-
}
134-
]
135-
}
2+
"head": {
3+
"css": [
4+
{
5+
"tagName": "link",
6+
"properties": [
7+
{
8+
"href": "assets/inc-bootstrap/css/bootstrap.min.css",
9+
"rel": "stylesheet",
10+
"integrity": "sha384-iyVHgWdgbOYA1Qxlw7jRhcp52l0uPEs4zrd0MRrcr1fDCFRPyz0k1VrxB1urC55B",
11+
"crossorigin": "anonymous"
12+
}
13613
]
137-
},
138-
"repository": {
139-
"baseUrl": "https://github.com/silverhack/monkey365assets",
140-
"branch": "main"
141-
}
14+
},
15+
{
16+
"tagName": "link",
17+
"properties": [
18+
{
19+
"href": "assets/inc-bootstrap/icons/bootstrap-icons.min.css",
20+
"rel": "stylesheet",
21+
"integrity": "sha384-6rWhQrpqmOB/8cwnTXeAzz7lY4NcMft3dq9j5C3b3aS+fcieyqmGN2aNPpwmxF7F",
22+
"crossorigin": "anonymous"
23+
}
24+
]
25+
},
26+
{
27+
"tagName": "link",
28+
"properties": [
29+
{
30+
"href": "assets/inc-fabric-icons/css/fabric-icons.css",
31+
"rel": "stylesheet",
32+
"integrity": "sha384-xXIo1ZHED3MHuog2pHCrxKhiMwn6fHs3MRDt27AzDLnYQ0NOxj2Rzp8AIJeEuoz/",
33+
"crossorigin": "anonymous"
34+
}
35+
]
36+
},
37+
{
38+
"tagName": "link",
39+
"properties": [
40+
{
41+
"href": "assets/inc-datatables/css/datatables.min.css",
42+
"rel": "stylesheet",
43+
"integrity": "sha384-JFtoFrR4YHuojEUexI2DhPD3+1wf0tZ58dFFKEPzqywXS5OX9qFMrML0YFtl+QD5",
44+
"crossorigin": "anonymous"
45+
}
46+
]
47+
},
48+
{
49+
"tagName": "link",
50+
"properties": [
51+
{
52+
"href": "assets/inc-highlight/styles/default.min.css",
53+
"rel": "stylesheet",
54+
"integrity": "sha384-rUENm7cBt3MHU23+pMctx+lO8DcOy4X96fW1KZhN9yedG+utGuMjFXICF1tVncIZ",
55+
"crossorigin": "anonymous"
56+
}
57+
]
58+
}
59+
],
60+
"JS": [
61+
{
62+
"tagName": "script",
63+
"properties": [
64+
{
65+
"src": "assets/inc-jquery/js/jquery.min.js",
66+
"integrity": "sha384-apfJm2DWye6itJXDari7QfgbBXzkNeRsr1xgTfEH0SCvYV+NlzqP+MkX/LHMZIPI",
67+
"crossorigin": "anonymous"
68+
}
69+
]
70+
},
71+
{
72+
"tagName": "script",
73+
"properties": [
74+
{
75+
"src": "assets/inc-bootstrap/js/bootstrap.bundle.min.js",
76+
"integrity": "sha384-ld2L/kcTVZx61WGwQz7vrkwU7uStBvzRExaQwwPPqM6yLGYgrGuUcKX/O87p9qy9",
77+
"crossorigin": "anonymous"
78+
}
79+
]
80+
},
81+
{
82+
"tagName": "script",
83+
"properties": [
84+
{
85+
"src": "assets/inc-datatables/js/datatables.min.js",
86+
"integrity": "sha384-OZ8j47osDmgSag6AWoRWmQStkMSRq+ewTrTZgnHzVqk2lrprMBm2BpeQlB21loph",
87+
"crossorigin": "anonymous"
88+
}
89+
]
90+
},
91+
{
92+
"tagName": "script",
93+
"properties": [
94+
{
95+
"src": "assets/inc-highlight/highlight.min.js",
96+
"integrity": "sha384-+kTfhpuIuNwbpAsA2KKZvKbHmkS7djR1kYrzDRecUYIr5VK8UuaXD3UF7u3HHTnV",
97+
"crossorigin": "anonymous"
98+
}
99+
]
100+
},
101+
{
102+
"tagName": "script",
103+
"properties": [
104+
{
105+
"src": "assets/inc-apexcharts/apexcharts.min.js",
106+
"integrity": "sha384-JT3wKUs/v8WlKowxfL1gscGsEG/lR+eHUjHHYimAR/7MxiXHzS2kGrRmM8n9Vnph",
107+
"crossorigin": "anonymous"
108+
}
109+
]
110+
}
111+
],
112+
"theme": [
113+
{
114+
"tagName": "link",
115+
"properties": [
116+
{
117+
"href": "assets/inc-monkey/css/app.css",
118+
"rel": "stylesheet",
119+
"integrity": "sha384-FssNHodaM+dmgGfgWxd9Vpa+N82+x13PSlmRc7Pi7FClZ3A+tIt0Nf1eT7cXm8zj",
120+
"crossorigin": "anonymous"
121+
}
122+
]
123+
}
124+
],
125+
"helpers": [
126+
{
127+
"tagName": "script",
128+
"properties": [
129+
{
130+
"src": "assets/inc-monkey/js/monkey_helper.js",
131+
"integrity": "sha384-VEOwRONP+1u2ElTS6hcJLfIyRk4FcoxIs3NA/wolAghY/90mce2tj3XTLP/hEQAD",
132+
"crossorigin": "anonymous"
133+
}
134+
]
135+
}
136+
]
137+
},
138+
"repository": {
139+
"baseUrl": "https://github.com/silverhack/monkey365assets",
140+
"branch": "main"
141+
}
142142
}

0 commit comments

Comments
 (0)