Skip to content

Commit 5879260

Browse files
committed
Fix deprecated set-env action syntax for CI
1 parent 479fd30 commit 5879260

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
include:
3636
- name: Ubuntu
37-
os: ubuntu-latest
37+
os: ubuntu-18.04
3838
ccov: ON
3939

4040
- name: macOS
@@ -79,10 +79,10 @@ jobs:
7979
mkdir -p $HOME/.cache/re2c
8080
mkdir -p $HOME/.local/opt/re2c
8181
82-
echo "::set-env name=RE2C_VERSION::${{ matrix.re2c }}"
83-
echo "::set-env name=PATH::$PATH:$HOME/bin:$(brew --prefix lcov)/bin"
84-
echo "::set-env name=MAKEFLAGS::-j$(getconf _NPROCESSORS_ONLN)"
85-
echo "::set-env name=CI::true"
82+
echo "RE2C_VERSION:={{ matrix.re2c }}" >> $GITHUB_ENV
83+
echo "PATH=$PATH:$HOME/bin:$(brew --prefix lcov)/bin" >> $GITHUB_ENV
84+
echo "MAKEFLAGS=-j$(getconf _NPROCESSORS_ONLN)" >> $GITHUB_ENV
85+
echo "CI=true" >> $GITHUB_ENV
8686
8787
- name: Setup Core Dump (Linux)
8888
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)