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