| 1 |
|
| 2 |
# (C) 2024 Jack Lloyd |
| 3 |
# (C) 2024 René Meusel, Rohde & Schwarz Cybersecurity |
| 4 |
# |
| 5 |
# Botan is released under the Simplified BSD License (see license.txt) |
| 6 |
|
| 7 |
name: Read Repository Configuration |
| 8 |
description: Reads the repository configuration file and makes it available as environment variables |
| 9 |
|
| 10 |
runs: |
| 11 |
using: composite |
| 12 |
steps: |
| 13 |
- name: Read Repository Configuration into Environment Variables |
| 14 |
run: | |
| 15 |
python3 ${{ github.action_path }}/../../../src/scripts/repo_config.py all >> $GITHUB_ENV |
| 16 |
echo "REPO_CONFIG_LOADED=true" >> $GITHUB_ENV |
| 17 |
shell: bash |
| 18 |
if: runner.os != 'Windows' |
| 19 |
|
| 20 |
- name: Read Repository Configuration into Environment Variables |
| 21 |
run: | |
| 22 |
python3 ${{ github.action_path }}/../../../src/scripts/repo_config.py all >> $GITHUB_ENV |
| 23 |
echo "REPO_CONFIG_LOADED=true" >> $GITHUB_ENV |
| 24 |
shell: pwsh |
| 25 |
if: runner.os == 'Windows' |