[前][次][番号順一覧][スレッド一覧]

ruby-changes:58762

From: Kazuhiro <ko1@a...>
Date: Wed, 13 Nov 2019 13:14:48 +0900 (JST)
Subject: [ruby-changes:58762] 3ad78264dc (master): Use style of set-env

https://git.ruby-lang.org/ruby.git/commit/?id=3ad78264dc

From 3ad78264dc7e680a004a8ea1397d4ac9297134ba Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Wed, 13 Nov 2019 13:13:52 +0900
Subject: Use style of set-env

https://help.github.com/en/actions/automating-your-workflow-with-github-actions/development-tools-for-github-actions#set-an-environment-variable-set-env

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 0053dcc..5849093 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -42,7 +42,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L42
           tool/travis_retry.sh brew install gdbm gmp libffi openssl@1... zlib autoconf automake libtool readline
       - name: Set ENV
         run: |
-          echo '##[set-env name=JOBS]'-j$((1 + $(sysctl -n hw.activecpu)))
+          echo '::set-env name=JOBS::'-j$((1 + $(sysctl -n hw.activecpu)))
       - name: Autoconf
         run: |
           cd src
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index a22ae7d..1456cb7 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -68,7 +68,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L68
           sudo chmod -R go-w /usr/share
       - name: Set ENV
         run: |
-          echo '##[set-env name=JOBS]'-j$((1 + $(nproc --all)))
+          echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
       - name: Autoconf
         run: cd src && exec autoconf
       - name: configure
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]