mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use $GITHUB_ENV instead of set-env
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
parent
f9df340a6a
commit
45fd4436ee
Notes:
git
2020-10-06 11:41:42 +09:00
5 changed files with 6 additions and 6 deletions
2
.github/workflows/check_dependencies.yml
vendored
2
.github/workflows/check_dependencies.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
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
|
||||
|
|
4
.github/workflows/compilers.yml
vendored
4
.github/workflows/compilers.yml
vendored
|
@ -161,8 +161,8 @@ jobs:
|
|||
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:
|
||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
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
|
||||
|
|
2
.github/workflows/mjit.yml
vendored
2
.github/workflows/mjit.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
|||
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
|
||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue