Skip to content

chore(ci): replace deprecated set-output commands #1957

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 1 commit into from
Feb 28, 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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
run: |
RELEASE_VERSION="${RELEASE_TAG_VERSION:1}"
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "$GITHUB_ENV"
echo "::set-output name=RELEASE_VERSION::${RELEASE_VERSION}"
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_OUTPUT
- name: Install dependencies
run: make dev
- name: Run all tests, linting and baselines
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/reusable_export_pr_details.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,19 @@ jobs:
# otherwise the parent caller won't see them regardless on how outputs are set.
- name: "Export Pull Request Number"
id: prNumber
run: echo ::set-output name=prNumber::$(jq -c '.number' ${FILENAME})
run: echo "prNumber=$(jq -c '.number' ${FILENAME})" >> $GITHUB_OUTPUT
- name: "Export Pull Request Title"
id: prTitle
run: echo ::set-output name=prTitle::$(jq -c '.pull_request.title' ${FILENAME})
run: echo "prTitle=$(jq -c '.pull_request.title' ${FILENAME})" >> $GITHUB_OUTPUT
- name: "Export Pull Request Body"
id: prBody
run: echo ::set-output name=prBody::$(jq -c '.pull_request.body' ${FILENAME})
run: echo "prBody=$(jq -c '.pull_request.body' ${FILENAME})" >> $GITHUB_OUTPUT
- name: "Export Pull Request Author"
id: prAuthor
run: echo ::set-output name=prAuthor::$(jq -c '.pull_request.user.login' ${FILENAME})
run: echo "prAuthor=$(jq -c '.pull_request.user.login' ${FILENAME})" >> $GITHUB_OUTPUT
- name: "Export Pull Request Action"
id: prAction
run: echo ::set-output name=prAction::$(jq -c '.action' ${FILENAME})
run: echo "prAction=$(jq -c '.action' ${FILENAME})" >> $GITHUB_OUTPUT
- name: "Export Pull Request Merged status"
id: prIsMerged
run: echo ::set-output name=prIsMerged::$(jq -c '.pull_request.merged' ${FILENAME})
run: echo "prIsMerged=$(jq -c '.pull_request.merged' ${FILENAME})" >> $GITHUB_OUTPUT