Skip to content

Commit

Permalink
remove deprecated set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Nov 12, 2023
1 parent d90ccce commit 028d000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 028d000

Please sign in to comment.