Skip to content

Commit

Permalink
Migrate to new way to set action outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Jul 28, 2023
1 parent 7f51001 commit 8ecbf9f
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,13 @@ runs:
shell: bash
- id: docker-client-version
run: |
content="$(docker version)"
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "::set-output name=version::$content"
echo "docker-version=$(docker version)" >> $GITHUB_OUTPUT
shell: bash
- id: docker-compose-version
run: |
content="$(docker compose version)"
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "::set-output name=version::$content"
echo "docker-compose-version=$(docker compose version)" >> $GITHUB_OUTPUT
shell: bash
- id: colima-version
run: |
content="$(colima version)"
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "::set-output name=version::$content"
echo "colima-version=$(colima version)" >> $GITHUB_OUTPUT
shell: bash

0 comments on commit 8ecbf9f

Please sign in to comment.