Skip to content

Commit a475bd6

Browse files
authored
Use newer format for setting GitHub output (base#1374)
Deprecated set-output Command: The use of ::set-output has been deprecated and now replaced with $GITHUB_ENV. This is a potential improvement, thank you
1 parent 3b9dada commit a475bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-algolia.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020
- name: Get the content of algolia.json as config
2121
id: algolia_config
22-
run: echo "::set-output name=config::$(cat apps/base-docs/algolia.json | jq -r tostring)"
22+
run: echo "config=$(cat apps/base-docs/algolia.json | jq -r tostring)" >> $GITHUB_ENV
2323
- name: Push indices to Algolia
2424
uses: signcl/docsearch-scraper-action@master
2525
env:

0 commit comments

Comments
 (0)