Skip to content

Commit 3762d30

Browse files
authored
Merge pull request #84 from potiuk/add-expanduser-to-path
Add expanduser to the path passed to stash restore action
2 parents 108a8ef + e907022 commit 3762d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stash/restore/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ runs:
8484
m.output_munged_name(output = 'stash_head')
8585
m.output_munged_name(ref = 'base_ref', output = 'stash_base')
8686
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
87-
f.write(f'stash_path={os.path.abspath(os.environ["stash_path"])}' + '\n')
87+
f.write(f'stash_path={os.path.abspath(os.path.expanduser(os.environ["stash_path"]))}' + '\n')
8888
8989
- name: Check for stash artifact
9090
id: check-stash

0 commit comments

Comments
 (0)