From a663f0284e94c0573f2778e64b2384c1ffd42bb8 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Tue, 10 Dec 2024 10:11:12 +0800 Subject: [PATCH] ci: update ci task remove deprecated calls --- .github/workflows/update-metabase.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-metabase.yml b/.github/workflows/update-metabase.yml index da8801d..6c568d1 100644 --- a/.github/workflows/update-metabase.yml +++ b/.github/workflows/update-metabase.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.x' @@ -27,7 +27,7 @@ jobs: id: get_version run: | LATEST_RELEASE=$(curl -s https://api.github.com/repos/metabase/metabase/releases/latest | jq -r .tag_name) - echo "::set-output name=version::$LATEST_RELEASE" + echo "version=$LATEST_RELEASE" >> $GITHUB_OUTPUT - name: Run update_files.py run: | @@ -37,9 +37,9 @@ jobs: id: check_dirty run: | if [[ -n $(git status --porcelain) ]]; then - echo "::set-output name=is_dirty::true" + echo "is_dirty=true" >> $GITHUB_OUTPUT else - echo "::set-output name=is_dirty::false" + echo "is_dirty=false" >> $GITHUB_OUTPUT fi - name: Create pull request if workspace is dirty