Skip to content

Commit

Permalink
chore(ci): convert deprecated set-output command (#1391)
Browse files Browse the repository at this point in the history
* chore: converted deprecated set-output

* chore: update sha for pkg-size-action
  • Loading branch information
dreamorosi authored Mar 31, 2023
1 parent 03c479e commit 0136e59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/measure-packages-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
ref: ${{ steps.extract_PR_details.outputs.headSHA }}
- name: Packages size report
uses: flochaz/pkg-size-action@e41584e9396375027c8a3c68909e3eca55719e47 # v.2.0.0
uses: flochaz/pkg-size-action@1f56793682d897eb0860d98637fa4ea8fe7d37b8 # v.2.0.1
with:
build-command: mkdir dist && npm run package -w packages/logger -w packages/tracer -w packages/metrics -w packages/commons -w packages/parameters && npm run package-bundle -w packages/logger -w packages/tracer -w packages/metrics -w packages/commons -w packages/parameters && bash -c "mv ./packages/*/dist/* dist/" && ls dist
dist-directory: /dist
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 @@ -68,19 +68,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

0 comments on commit 0136e59

Please sign in to comment.