-
Notifications
You must be signed in to change notification settings - Fork 3
56 lines (47 loc) · 1.78 KB
/
generate_release_info.yml
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
name: Generate Release Info HTML files
on:
push:
paths:
- tools/release_info/release_main_info_*.json
workflow_dispatch:
env:
INSTALLER_LOCATION: "https://github.com/test-fullautomation/RobotFramework_AIO/releases"
jobs:
release-info:
name: generate release info html files
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.9"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y pandoc
python -m pip install -r tools/release_info/requirements.txt
- name: Clone repositories
run: |
chmod +x ./cloneall
./cloneall --config-file=./config/repositories/repositories_extended.conf
- name: Generate release info
run: |
export AIO_VERSION_DATE=$(date +%m.%Y)
export RobotPythonSitePackagesPath=${{ runner.workspace }}/robotframework-testsuitesmanagement
VARIANTS=("extended" "original")
for variant in "${VARIANTS[@]}"
do
export AIO_NAME="RobotFramework AIO (${variant})"
. ./include/bash/common.sh && create_testsuitmanagement_package_context_file
python tools/release_info/release_info.py --configfile ./release_info_config_OSS_${variant}.json
done
- name: Upload as artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: release-info-files
path: |
tools/release_info/release_info_RobotFramework_AIO_*.html
tools/release_info/release_changelog.html