From 01eba1f369ab14fac4d16e612e075553d4acf9ae Mon Sep 17 00:00:00 2001 From: Rufusfavour <135317413+Rufusfavour@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:52:41 +0100 Subject: [PATCH] Use newer format for setting GitHub output 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 --- .github/workflows/update-algolia.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-algolia.yml b/.github/workflows/update-algolia.yml index ee91b50367..c65bab97bd 100644 --- a/.github/workflows/update-algolia.yml +++ b/.github/workflows/update-algolia.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Get the content of algolia.json as config id: algolia_config - run: echo "::set-output name=config::$(cat apps/base-docs/algolia.json | jq -r tostring)" + run: echo "config=$(cat apps/base-docs/algolia.json | jq -r tostring)" >> $GITHUB_ENV - name: Push indices to Algolia uses: signcl/docsearch-scraper-action@master env: