Skip to content

Commit

Permalink
ci: use >> $GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Jun 5, 2024
1 parent 0a01389 commit e1272fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: git fetch --unshallow
- name: Get latest tag
id: latest_tag
run: ruby -e 'puts ("::set-output name=latest_tag::v#{`git tag`.each_line.map{|l| begin Gem::Version::new(l.sub(/^v/, "")); rescue; nil end}.compact.max.to_s}")'
run: ruby -e 'puts("latest_tag=v#{`git tag`.each_line.map{|l| begin Gem::Version::new(l.sub(/^v/, "")); rescue; nil end}.compact.max.to_s}")' >> $GITHUB_OUTPUT
- name: Checkout latest tag
run: |
set -eu
Expand Down

0 comments on commit e1272fd

Please sign in to comment.