File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
- id : changed-modules
32
32
run : |
33
33
git diff --name-only HEAD~1 | xargs printf -- '--changed-git-paths %s\n' | xargs ./gradlew writeChangedProjects --output-file-path=modules.json
34
- echo ::set-output name= modules:: $(cat modules.json)
34
+ echo modules= $(cat modules.json) >> $GITHUB_OUTPUT
35
35
36
36
unit_tests :
37
37
name : " Unit Tests"
Original file line number Diff line number Diff line change 35
35
# Query the git history for all gradle.properties files changed by this push.
36
36
# Then, check the diff to see if any "latestReleasedVersion=" lines changed.
37
37
if (git diff '${{ github.event.before }}' -- '**/gradle.properties' | grep -q '^[-+]latestReleasedVersion='); then
38
- echo "::set-output name= released_version_changed::1"
38
+ echo "released_version_changed=1" >> $GITHUB_OUTPUT
39
39
else
40
40
echo "No change to latestReleasedVersion detected since ${{ github.event.before }}"
41
41
fi
You can’t perform that action at this time.
0 commit comments