|
7 | 7 | - master |
8 | 8 | - stable* |
9 | 9 |
|
| 10 | +permissions: |
| 11 | + contents: read |
| 12 | + |
10 | 13 | jobs: |
11 | 14 | user_manual: |
12 | 15 | runs-on: ubuntu-latest |
13 | 16 | steps: |
14 | | - - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 |
15 | | - - uses: actions/setup-python@v5 |
16 | | - with: |
17 | | - python-version: '3.10' |
18 | | - cache: 'pip' |
19 | | - - name: Install pip dependencies |
20 | | - run: pip install -r requirements.txt |
21 | | - - name: Build using Makefile |
22 | | - run: cd user_manual && make html |
23 | | - - name: Pack the results in local tar file |
24 | | - shell: bash |
25 | | - run: tar czf /tmp/documentation.tar.gz -C user_manual/_build/html . |
26 | | - - name: Upload static documentation |
27 | | - uses: actions/upload-artifact@v4.6.2 |
28 | | - with: |
29 | | - name: User manual.zip |
30 | | - path: "/tmp/documentation.tar.gz" |
| 17 | + - name: Checkout |
| 18 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 19 | + with: |
| 20 | + persist-credentials: false |
| 21 | + |
| 22 | + - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 |
| 23 | + with: |
| 24 | + python-version: '3.10' |
| 25 | + cache: 'pip' |
| 26 | + - name: Install pip dependencies |
| 27 | + run: pip install -r requirements.txt |
| 28 | + - name: Build using Makefile |
| 29 | + run: cd user_manual && make html |
| 30 | + - name: Pack the results in local tar file |
| 31 | + shell: bash |
| 32 | + run: tar czf /tmp/documentation.tar.gz -C user_manual/_build/html . |
| 33 | + - name: Upload static documentation |
| 34 | + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 |
| 35 | + with: |
| 36 | + name: User manual.zip |
| 37 | + path: "/tmp/documentation.tar.gz" |
31 | 38 |
|
32 | 39 | user_manual-en: |
33 | 40 | runs-on: ubuntu-latest |
34 | 41 | steps: |
35 | | - - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 |
36 | | - - uses: actions/setup-python@v5 |
37 | | - with: |
38 | | - python-version: '3.10' |
39 | | - cache: 'pip' |
40 | | - - name: Install pip dependencies |
41 | | - run: pip install -r requirements.txt |
42 | | - - name: Build using Makefile |
43 | | - run: cd user_manual && make html-lang-en |
| 42 | + - name: Checkout |
| 43 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 44 | + with: |
| 45 | + persist-credentials: false |
| 46 | + - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 |
| 47 | + with: |
| 48 | + python-version: '3.10' |
| 49 | + cache: 'pip' |
| 50 | + - name: Install pip dependencies |
| 51 | + run: pip install -r requirements.txt |
| 52 | + - name: Build using Makefile |
| 53 | + run: cd user_manual && make html-lang-en |
44 | 54 |
|
45 | 55 | developer_manual: |
46 | 56 | runs-on: ubuntu-latest |
47 | 57 | steps: |
48 | | - - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 |
49 | | - - uses: actions/setup-python@v5 |
50 | | - with: |
51 | | - python-version: '3.10' |
52 | | - cache: 'pip' |
53 | | - - name: Install pip dependencies |
54 | | - run: pip install -r requirements.txt |
55 | | - - name: Build using Makefile |
56 | | - run: cd developer_manual && make html |
57 | | - - name: Pack the results in local tar file |
58 | | - shell: bash |
59 | | - run: tar czf /tmp/documentation.tar.gz -C developer_manual/_build/html/com . |
60 | | - - name: Upload static documentation |
61 | | - uses: actions/upload-artifact@v4.6.2 |
62 | | - with: |
63 | | - name: Developer manual.zip |
64 | | - path: "/tmp/documentation.tar.gz" |
| 58 | + - name: Checkout |
| 59 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 60 | + with: |
| 61 | + persist-credentials: false |
| 62 | + - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 |
| 63 | + with: |
| 64 | + python-version: '3.10' |
| 65 | + cache: 'pip' |
| 66 | + - name: Install pip dependencies |
| 67 | + run: pip install -r requirements.txt |
| 68 | + - name: Build using Makefile |
| 69 | + run: cd developer_manual && make html |
| 70 | + - name: Pack the results in local tar file |
| 71 | + shell: bash |
| 72 | + run: tar czf /tmp/documentation.tar.gz -C developer_manual/_build/html/com . |
| 73 | + - name: Upload static documentation |
| 74 | + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 |
| 75 | + with: |
| 76 | + name: Developer manual.zip |
| 77 | + path: "/tmp/documentation.tar.gz" |
65 | 78 |
|
66 | 79 | admin_manual: |
67 | 80 | runs-on: ubuntu-latest |
68 | 81 | steps: |
69 | | - - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 |
70 | | - - uses: actions/setup-python@v5 |
71 | | - with: |
72 | | - python-version: '3.10' |
73 | | - cache: 'pip' |
74 | | - - name: Install pip dependencies |
75 | | - run: pip install -r requirements.txt |
76 | | - - name: Build using Makefile |
77 | | - run: cd admin_manual && make html |
78 | | - - name: Pack the results in local tar file |
79 | | - shell: bash |
80 | | - run: tar czf /tmp/documentation.tar.gz -C admin_manual/_build/html/com . |
81 | | - - name: Upload static documentation |
82 | | - uses: actions/upload-artifact@v4.6.2 |
83 | | - with: |
84 | | - name: Administration manual.zip |
85 | | - path: "/tmp/documentation.tar.gz" |
| 82 | + - name: Checkout |
| 83 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 84 | + with: |
| 85 | + persist-credentials: false |
| 86 | + - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 |
| 87 | + with: |
| 88 | + python-version: '3.10' |
| 89 | + cache: 'pip' |
| 90 | + - name: Install pip dependencies |
| 91 | + run: pip install -r requirements.txt |
| 92 | + - name: Build using Makefile |
| 93 | + run: cd admin_manual && make html |
| 94 | + - name: Pack the results in local tar file |
| 95 | + shell: bash |
| 96 | + run: tar czf /tmp/documentation.tar.gz -C admin_manual/_build/html/com . |
| 97 | + - name: Upload static documentation |
| 98 | + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 |
| 99 | + with: |
| 100 | + name: Administration manual.zip |
| 101 | + path: "/tmp/documentation.tar.gz" |
0 commit comments