dart-lang / dart-docker

Docker images for the Dart programming language (https://dart.dev)
BSD 3-Clause "New" or "Revised" License
67 stars 15 forks source link

Replace deprecated command with environment file #176

Closed jongwooo closed 6 months ago

jongwooo commented 7 months ago

Description of your changes

Closes #175

Update .github/workflows/docker-image.yml to use environment file instead of deprecated set-output command. For more information, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I found the workflow file that use set-output command through the following command:

$ find . -name '*.yml' -o -name '*.yaml' | xargs egrep '\bset-output\b'

AS-IS

echo "::set-output name=strategy::$strategy"

TO-BE

echo "strategy=$strategy" >> $GITHUB_OUTPUT
copybara-service[bot] commented 7 months ago

Thank you for your contribution! This project uses Gerrit for code reviews. Your pull request has automatically been converted into a code review at:

https://dart-review.googlesource.com/c/dart-docker/+/344040

Please wait for a developer to review your code review at the above link; you can speed up the review if you sign into Gerrit and manually add a reviewer that has recently worked on the relevant code. See CONTRIBUTING.md to learn how to upload changes to Gerrit directly.

Additional commits pushed to this PR will update both the PR and the corresponding Gerrit CL. After the review is complete on the CL, your reviewer will merge the CL (automatically closing this PR).

copybara-service[bot] commented 7 months ago

https://dart-review.googlesource.com/c/dart-docker/+/344040 has been updated with the latest commits from this pull request.