Skip to content

Commit f2a8e7e

Browse files
committed
fix: Set the value of the 'value' output in a way that will make it available to steps in _other_ composite actions and workflows (not just other steps inside 'gh-cache/cache')
1 parent 686740e commit f2a8e7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/gh-cache/cache/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ inputs:
1919
outputs:
2020
value:
2121
description: "Cached string"
22+
value: ${{ steps.output_cached_value.outputs.value }}
2223

2324
runs:
2425
using: "composite"
@@ -46,6 +47,7 @@ runs:
4647
token: ${{ inputs.token }}
4748

4849
- name: Output cached value
50+
id: output_cached_value
4951
shell: bash
5052
run: |
5153
echo "value<<EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)