File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 3434 fetch-depth : 0
3535
3636 - name : 👾 Define Diff Versions
37- id : diff_versions
3837 run : |
3938 NEW="${{ env.source }}~${{ env.githubRepo }}"
4039 if [[ '${{ github.head_ref || env.noTargetBranch }}' == 'release/*' ]]
4847 echo "OLD=$OLD"
4948 echo "NEW=$NEW"
5049
51- # Providing the output to the next step
52- echo "OLD =$OLD" >> $GITHUB_OUTPUT
53- echo "NEW =$NEW" >> $GITHUB_OUTPUT
50+ # Providing the output to the environment
51+ echo "OLD_VERSION =$OLD" >> $GITHUB_ENV
52+ echo "NEW_VERSION =$NEW" >> $GITHUB_ENV
5453 env :
5554 source : ' ${{ github.event.inputs.new || github.head_ref }}'
5655 target : ' ${{ github.event.inputs.old || github.event.pull_request.base.ref }}'
5958
6059 - name : 🔍 Detect Changes
6160 run : |
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 }}"
61+ echo "OUTPUTS: ${{ env }}"
62+ echo "NEW: ${{ env.NEW_VERSION }}"
63+ echo "OLD: ${{ env.OLD_VERSION }}"
6564
6665 PROJECT_FOLDER=$PWD
6766 echo $PROJECT_FOLDER
You can’t perform that action at this time.
0 commit comments