Skip to content

Commit b38e8b0

Browse files
committed
docs: replace set-output in example
1 parent b4d5173 commit b38e8b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/examples.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,10 @@ jobs:
282282
- name: Get Latest Swagger UI Release
283283
id: swagger-ui
284284
run: |
285-
echo ::set-output name=release_tag::$(curl -sL https://api.github.com/repos/swagger-api/swagger-ui/releases/latest | jq -r ".tag_name")
286-
echo ::set-output name=current_tag::$(<swagger-ui.version)
285+
release_tag=$(curl -sL https://api.github.com/repos/swagger-api/swagger-ui/releases/latest | jq -r ".tag_name")
286+
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
287+
current_tag=$(<swagger-ui.version)
288+
echo "current_tag=$current_tag" >> $GITHUB_OUTPUT
287289
- name: Update Swagger UI
288290
if: steps.swagger-ui.outputs.current_tag != steps.swagger-ui.outputs.release_tag
289291
env:

0 commit comments

Comments
 (0)