From 028d0007cc81852497c7cfff829f83bdb93fb88c Mon Sep 17 00:00:00 2001 From: luiz Date: Sun, 12 Nov 2023 13:47:59 +0100 Subject: [PATCH] remove deprecated set-output --- .github/workflows/tests-dev.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests-dev.yml b/.github/workflows/tests-dev.yml index bcab196..e1c8dac 100644 --- a/.github/workflows/tests-dev.yml +++ b/.github/workflows/tests-dev.yml @@ -66,10 +66,10 @@ jobs: git config --local user.name "github-actions[bot]" if [[ ! -z "$GIT_STATUS" ]]; then git add .domino/* && git commit -m "auto-organize" -a - echo "::set-output name=commit_sha::$(git rev-parse HEAD)" + echo "commit_sha=$(git rev-parse HEAD)" >> $GITHUB_ENV else echo "No changes to commit" - echo "::set-output name=commit_sha::${{ github.sha }}" + echo "commit_sha=${{ github.sha }}" >> $GITHUB_ENV fi - name: Push changes @@ -84,4 +84,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | domino piece delete-release --tag-name=dev - domino piece release --tag-name=dev --commit-sha=${{ steps.commit_files.outputs.commit_sha }} + domino piece release --tag-name=dev --commit-sha=$commit_sha