From 030aa3c2eb2cb20b498b6b2b2d3f0e2aa621f87a Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Tue, 3 Dec 2024 06:46:11 +0100 Subject: [PATCH 1/2] use github.action_path for requirements.txt --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 4690209..2be5fa1 100644 --- a/action.yaml +++ b/action.yaml @@ -16,7 +16,7 @@ runs: - name: install dependencies shell: bash -l {0} run: | - python -m pip install -r requirements.txt + python -m pip install -r ${{ github.action_path }}/requirements.txt - name: analyze environments shell: bash -l {0} env: From 67f8e497e9ed3eb55194a9b594a94dd7202ad99f Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Tue, 3 Dec 2024 07:44:54 +0100 Subject: [PATCH 2/2] fix path of minimum_versions.py script --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 2be5fa1..96916b8 100644 --- a/action.yaml +++ b/action.yaml @@ -24,4 +24,4 @@ runs: FORCE_COLOR: 3 INPUT: ${{ inputs.environment-paths }} run: | - python minimum_versions.py $(echo $INPUT) + python ${{ github.action_path }}/minimum_versions.py $(echo $INPUT)