Skip to content

Commit

Permalink
Migrate set-output to $GITHUB_OUTPUT (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun authored Feb 16, 2024
1 parent 09d145a commit d65c5fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
password: ${{ secrets.ACCESS_TOKEN }}
registry: ghcr.io
if: ${{ github.actor != 'dependabot[bot]' }}

- name: Resolve build_ruby version
uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0
with:
Expand All @@ -67,8 +68,9 @@ jobs:
if: ${{ matrix.entry.build_ruby != '' }}
- name: Set build_ruby version
id: build_ruby
run: ruby -e 'puts "::set-output name=version::#{RUBY_VERSION}"'
run: ruby -e 'puts "version=#{RUBY_VERSION}"' >> $GITHUB_OUTPUT
if: ${{ matrix.entry.build_ruby != '' }}

- uses: docker/build-push-action@v5
with:
build-args: |
Expand Down

0 comments on commit d65c5fb

Please sign in to comment.