From 8241709b84068d9ee95452f67e30948d88a94b25 Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Thu, 18 Jul 2024 02:48:54 +0800 Subject: [PATCH] [ci skip] Update set output Since it is deprecated and may be removed in the future see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/auto-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 12ec538..027999b 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -26,14 +26,14 @@ jobs: id: paperRef run: | cd Paper - echo "::set-output name=paperRef::$(git rev-parse HEAD)" + echo "paperRef=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT - name: Get Gale Current Paper commit Hash id: currPaperRef run: | cd Gale currPaperRef=$(grep "^paperRef\s*=" gradle.properties | sed 's/^paperRef\s*=\s*//') - echo "::set-output name=currPaperRef::$currPaperRef" + echo "currPaperRef=$currPaperRef" >> $GITHUB_OUTPUT - name: Update paperRef in Gale run: |