ruby-changes:63278
From: Kazuhiro <ko1@a...>
Date: Tue, 6 Oct 2020 11:41:34 +0900 (JST)
Subject: [ruby-changes:63278] 45fd4436ee (master): Use $GITHUB_ENV instead of set-env
https://git.ruby-lang.org/ruby.git/commit/?id=45fd4436ee From 45fd4436ee146f95487b1575c5a2df5cf77f4717 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Tue, 6 Oct 2020 10:28:15 +0900 Subject: Use $GITHUB_ENV instead of set-env https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index 84e1219..3439c04 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -27,7 +27,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/check_dependencies.yml#L27 sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || : - name: Set ENV run: | - echo '::set-env name=JOBS::'-j$((1 + $(nproc --all))) + echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV - run: autoconf working-directory: src - name: Run configure diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 7edec28..88b6c3a 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -161,8 +161,8 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L161 steps: - name: setenv run: | - echo ::set-env name=${{ matrix.entry.key }}::${{ matrix.entry.value }} - echo ::set-env name=make::make -sj$((1 + $(nproc --all))) + echo "${{ matrix.entry.key }}=${{ matrix.entry.value }}" >> $GITHUB_ENV + echo "make=make -sj$((1 + $(nproc --all)))" >> $GITHUB_ENV - run: mkdir build - uses: actions/checkout@v2 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 40f4d9d..34757ea 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -29,7 +29,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L29 working-directory: src - name: Set ENV run: | - echo '::set-env name=JOBS::'-j$((1 + $(sysctl -n hw.activecpu))) + echo "JOBS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV - run: autoconf working-directory: src - run: mkdir build diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index ff2d5d9..80ab351 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -32,7 +32,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mjit.yml#L32 sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || : - name: Set ENV run: | - echo '::set-env name=JOBS::'-j$((1 + $(nproc --all))) + echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV - run: autoconf working-directory: src - run: mkdir build diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 8c879fe..a5132ad 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -47,7 +47,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L47 sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || : - name: Set ENV run: | - echo '::set-env name=JOBS::'-j$((1 + $(nproc --all))) + echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV - run: autoconf working-directory: src - run: mkdir build -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/