Replace set-env workflow command with GITHUB_ENV

Closes #351.
This commit is contained in:
David Tolnay 2020-11-14 23:50:09 -08:00
parent 57c166d775
commit 091b6d4715
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -42,7 +42,8 @@ jobs:
# still ensure the test is kept passing on the basis of the scheduled
# builds.
if: matrix.os && github.event_name != 'schedule'
run: echo '::set-env name=RUSTFLAGS::--cfg skip_ui_tests'
run: echo 'RUSTFLAGS=--cfg skip_ui_tests' >> $GITHUB_ENV
shell: bash
- run: cargo run --manifest-path demo/Cargo.toml
- run: cargo test --workspace --exclude cxx-test-suite