Skip to content

Commit 22bda37

Browse files
authored
chore(ci): replace deprecated set-output commands (#1957)
Co-authored-by: Cibin Mathew <cibinmathew@users.noreply.github.com>
1 parent 31791ff commit 22bda37

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: |
7474
RELEASE_VERSION="${RELEASE_TAG_VERSION:1}"
7575
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "$GITHUB_ENV"
76-
echo "::set-output name=RELEASE_VERSION::${RELEASE_VERSION}"
76+
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_OUTPUT
7777
- name: Install dependencies
7878
run: make dev
7979
- name: Run all tests, linting and baselines

.github/workflows/reusable_export_pr_details.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,19 @@ jobs:
7171
# otherwise the parent caller won't see them regardless on how outputs are set.
7272
- name: "Export Pull Request Number"
7373
id: prNumber
74-
run: echo ::set-output name=prNumber::$(jq -c '.number' ${FILENAME})
74+
run: echo "prNumber=$(jq -c '.number' ${FILENAME})" >> $GITHUB_OUTPUT
7575
- name: "Export Pull Request Title"
7676
id: prTitle
77-
run: echo ::set-output name=prTitle::$(jq -c '.pull_request.title' ${FILENAME})
77+
run: echo "prTitle=$(jq -c '.pull_request.title' ${FILENAME})" >> $GITHUB_OUTPUT
7878
- name: "Export Pull Request Body"
7979
id: prBody
80-
run: echo ::set-output name=prBody::$(jq -c '.pull_request.body' ${FILENAME})
80+
run: echo "prBody=$(jq -c '.pull_request.body' ${FILENAME})" >> $GITHUB_OUTPUT
8181
- name: "Export Pull Request Author"
8282
id: prAuthor
83-
run: echo ::set-output name=prAuthor::$(jq -c '.pull_request.user.login' ${FILENAME})
83+
run: echo "prAuthor=$(jq -c '.pull_request.user.login' ${FILENAME})" >> $GITHUB_OUTPUT
8484
- name: "Export Pull Request Action"
8585
id: prAction
86-
run: echo ::set-output name=prAction::$(jq -c '.action' ${FILENAME})
86+
run: echo "prAction=$(jq -c '.action' ${FILENAME})" >> $GITHUB_OUTPUT
8787
- name: "Export Pull Request Merged status"
8888
id: prIsMerged
89-
run: echo ::set-output name=prIsMerged::$(jq -c '.pull_request.merged' ${FILENAME})
89+
run: echo "prIsMerged=$(jq -c '.pull_request.merged' ${FILENAME})" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)