From bbe5d3e5e911ed0c0f7111d61290d721107272b5 Mon Sep 17 00:00:00 2001 From: Erol444 Date: Mon, 26 Aug 2024 14:18:23 +0200 Subject: [PATCH] move install_dependencies.sh, update workflow to match the path --- .github/workflows/test-install-dependencies.yml | 8 ++++---- docs/{source/_static => }/install_dependencies.sh | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename docs/{source/_static => }/install_dependencies.sh (100%) diff --git a/.github/workflows/test-install-dependencies.yml b/.github/workflows/test-install-dependencies.yml index fd8f6d84b..51546588f 100644 --- a/.github/workflows/test-install-dependencies.yml +++ b/.github/workflows/test-install-dependencies.yml @@ -4,11 +4,11 @@ workflow_dispatch: push: paths: - - 'docs/source/_static/install_dependencies.sh' + - 'docs/install_dependencies.sh' - 'examples/install_requirements.py' pull_request: paths: - - 'docs/source/_static/install_dependencies.sh' + - 'docs/install_dependencies.sh' - 'examples/install_requirements.py' jobs: @@ -30,7 +30,7 @@ - name: Install dependencies run: | ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone # Otherwise tzdata installer prompts for user input - sed '/udevadm control --reload-rules && sudo udevadm trigger/d' docs/source/_static/install_dependencies.sh > tmp_script.sh # Doesn't work on docker + sed '/udevadm control --reload-rules && sudo udevadm trigger/d' docs/install_dependencies.sh > tmp_script.sh # Doesn't work on docker bash tmp_script.sh - name: Create a virtual environment if: endsWith(matrix.container_image, 'rolling') == true @@ -54,7 +54,7 @@ - uses: actions/checkout@v3 - name: Install dependencies run: | - sed '/udevadm control --reload-rules && sudo udevadm trigger/d' docs/source/_static/install_dependencies.sh > tmp_script.sh + sed '/udevadm control --reload-rules && sudo udevadm trigger/d' docs/install_dependencies.sh > tmp_script.sh bash tmp_script.sh - name: Create a virtual environment run: | diff --git a/docs/source/_static/install_dependencies.sh b/docs/install_dependencies.sh similarity index 100% rename from docs/source/_static/install_dependencies.sh rename to docs/install_dependencies.sh