Skip to content

Commit 50be836

Browse files
authored
Merge pull request #1573 from consideRatio/pr/set-output
ci: fix deprecation of set-output in github workflows
2 parents b7ad979 + eb4a603 commit 50be836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/watch-dependencies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: local
4747
run: |
4848
local_tag=$(cat helm-chart/binderhub/values.yaml | yq e '.${{ matrix.values_path }}' -)
49-
echo "::set-output name=tag::$local_tag"
49+
echo "tag=$local_tag" >> $GITHUB_OUTPUT
5050
5151
- name: Get latest tag of ${{ matrix.registry }}/${{ matrix.repository }}
5252
id: latest
@@ -61,7 +61,7 @@ jobs:
6161
docker run --rm quay.io/skopeo/stable list-tags docker://${{ matrix.registry }}/${{ matrix.repository }} \
6262
| jq -r '[.Tags[] | select(. | match("^\\d+\\.\\d+\\.\\d+$") | .string)] | sort_by(split(".") | map(tonumber)) | last'
6363
)
64-
echo "::set-output name=tag::$latest_tag"
64+
echo "tag=$latest_tag" >> $GITHUB_OUTPUT
6565
6666
- name: Update values.yaml pinned tag
6767
if: steps.local.outputs.tag != steps.latest.outputs.tag

0 commit comments

Comments
 (0)