Skip to content

Commit af26b36

Browse files
committed
Fixing id
1 parent 2c57186 commit af26b36

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/detect-api.changes.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
fetch-depth: 0
3535

3636
- name: 👾 Define Diff Versions
37+
id: diff_versions
3738
run: |
3839
NEW="${{ env.source }}~${{ env.githubRepo }}"
3940
if [[ '${{ github.head_ref || env.noTargetBranch }}' == 'release/*' ]]
@@ -44,6 +45,10 @@ jobs:
4445
OLD="${{ env.target }}~${{ env.githubRepo }}"
4546
fi
4647
48+
echo "OLD=$OLD"
49+
echo "NEW=$NEW"
50+
51+
# Providing the output to the next step
4752
echo "OLD=$OLD" >> $GITHUB_OUTPUT
4853
echo "NEW=$NEW" >> $GITHUB_OUTPUT
4954
env:
@@ -54,9 +59,9 @@ jobs:
5459

5560
- name: 🔍 Detect Changes
5661
run: |
57-
echo "OUTPUTS: ${{ env.steps.vars.outputs }}"
58-
echo "NEW: ${{ env.steps.vars.outputs.NEW }}"
59-
echo "OLD: ${{ env.steps.vars.outputs.OLD }}"
62+
echo "OUTPUTS: ${{ env.steps.diff_versions.outputs }}"
63+
echo "NEW: ${{ env.steps.diff_versions.outputs.NEW }}"
64+
echo "OLD: ${{ env.steps.diff_versions.outputs.OLD }}"
6065
6166
PROJECT_FOLDER=$PWD
6267
echo $PROJECT_FOLDER

0 commit comments

Comments
 (0)