Skip to content

ci: Migrate set-output to GITHUB_OUTPUT #5189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- id: changed-modules
run: |
git diff --name-only HEAD~1 | xargs printf -- '--changed-git-paths %s\n' | xargs ./gradlew writeChangedProjects --output-file-path=modules.json
echo ::set-output name=modules::$(cat modules.json)
echo modules=$(cat modules.json) >> $GITHUB_OUTPUT

unit_tests:
name: "Unit Tests"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-cpp-sdk-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# Query the git history for all gradle.properties files changed by this push.
# Then, check the diff to see if any "latestReleasedVersion=" lines changed.
if (git diff '${{ github.event.before }}' -- '**/gradle.properties' | grep -q '^[-+]latestReleasedVersion='); then
echo "::set-output name=released_version_changed::1"
echo "released_version_changed=1" >> $GITHUB_OUTPUT
else
echo "No change to latestReleasedVersion detected since ${{ github.event.before }}"
fi
Expand Down