Skip to content

Commit 1ac2892

Browse files
committed
Fix python-environment to use working-directory for setup of cache variables
1 parent a5a359e commit 1ac2892

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/actions/python-environment/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ runs:
5252

5353
- name: Setup cache variables
5454
id: setup-cache-variables
55+
working-directory: ${{ inputs.working-directory }}
5556
shell: bash
5657
run: |
5758
echo "ImageOS=$ImageOS"
@@ -62,7 +63,7 @@ runs:
6263
echo "IMAGE_OS=$ImageOS" >> $GITHUB_OUTPUT
6364
echo "IMAGE_VERSION=$ImageVersion" >> $GITHUB_OUTPUT
6465
echo "POETRY_SHA=$POETRY_SHA" >> $GITHUB_OUTPUT
65-
66+
6667
6768
- name: Cache Poetry environment
6869
if: inputs.use-cache == 'true'

doc/changes/unreleased.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This releases fixes Nox session `release:prepare` for multi-project repositories
77
## Bugfixes
88

99
* #580: Fixed Nox session `release:prepare` for multi-project repositories
10+
* #586: Fixed `python-environment` GitHub action to use working-directory for setup of cache variables
1011

1112
## Features
1213

0 commit comments

Comments
 (0)