Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit fbb8267

Browse files
committed
GitHub Action: Avoid issues with set-env used by older versions of setup actions
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ contains: `Action authors who are using the toolkit should update the @actions/core package to v1.2.6 or greater to get the updated addPath and exportVariable functions.` and `Action and workflow authors who are setting environment variables via STDOUT should update any usage of the set-env and add-path workflow commands to use the new environment files.` Which setup-node appear to have done in actions/setup-node#200 - the commits for which have been tagged v2.1.2. And which setup-ruby appear to have done in ruby/setup-ruby#91 - the commits for which have been tagged v1.46.1.
1 parent 72dcd23 commit fbb8267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
2727
# change this to (see https://github.com/ruby/setup-ruby#versioning):
2828
# uses: ruby/setup-ruby@v1
29-
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
29+
uses: ruby/setup-ruby@8bc9ca9ace0139aae24423f15269b9673354b495
3030
with:
3131
ruby-version: 2.7.1
3232

3333
- name: Install dependencies
3434
run: bundle install
3535

3636
- name: Setup Node
37-
uses: actions/setup-node@v1
37+
uses: actions/setup-node@v2.1.2
3838
with:
3939
node-version: 12.16.3
4040

0 commit comments

Comments
 (0)