diff --git a/.forgejo/workflows/plugins.yml b/.forgejo/workflows/plugins.yml index edc3c16a..3c6c287e 100644 --- a/.forgejo/workflows/plugins.yml +++ b/.forgejo/workflows/plugins.yml @@ -56,15 +56,15 @@ jobs: path: plugin-artifacts/ if-no-files-found: error - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - name: Test release installer failure recovery shell: bash run: | set -euo pipefail - python -m pip install PyYAML==6.0.3 - python -m unittest discover -s tools -p test_dunemenus_installer.py -v + if ! python3 -c 'import yaml'; then + apt-get update + apt-get install -y --no-install-recommends python3-yaml + fi + python3 -m unittest discover -s tools -p test_dunemenus_installer.py -v - name: Test and build the replacement DuneMenus plugin shell: bash run: |