Skip to content

Commit

Permalink
Remote deprecated set-output command from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
okiedork authored and flavioheleno committed Nov 7, 2022
1 parent eaa7b06 commit d66c7ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- name: Prepare build variables
id: prepare-build
run: |
echo "::set-output name=short::${GITHUB_SHA:0:7}"
echo "short=${GITHUB_SHA:0:7}" >> $GITHUB_OUTPUT
if [[ "${{ github.ref_name }}" == "main" ]]; then
echo "::set-output name=environment::prod"
echo "environment=prod" >> $GITHUB_OUTPUT
else
echo "::set-output name=environment::dev"
echo "environment=dev" >> $GITHUB_OUTPUT
fi
- name: Set up Docker Buildx
Expand Down

0 comments on commit d66c7ef

Please sign in to comment.