Skip to content

Commit bc28e5b

Browse files
committed
Remove usage of deprecated ::set-output::
1 parent ce4623d commit bc28e5b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222
id: get_latest_tag
2323
run: |
2424
latest_tag=$(curl -s https://api.github.com/repos/intersectmbo/cardano-db-sync/releases/latest | jq -r .tag_name)
25-
echo "::set-output name=tag::$latest_tag"
25+
echo Target build tag: $latest_tag
26+
if [[ -z "$latest_tag" || "$latest_tag" == "null" ]]; then
27+
echo "Failed to get latest tag"; exit 1
28+
fi
29+
echo "tag=$latest_tag" >> $GITHUB_OUTPUT
2630
2731
- name: Log in to GitHub Container Registry
2832
uses: docker/login-action@v1

0 commit comments

Comments
 (0)