Set environment variables correctly in Github Actions (#4412)

This commit is contained in:
Bert Belder 2020-03-17 17:06:40 -07:00
parent a2b2851582
commit 0ef99ac970
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -26,6 +26,11 @@ jobs:
kind: 'test_debug'
- os: macOS-latest
kind: 'test_debug'
env:
RUST_BACKTRACE: full
RUSTC_WRAPPER: sccache
steps:
- name: Configure git
run: git config --global core.symlinks true
@ -70,13 +75,6 @@ jobs:
Select-Object -Skip 1 |
ForEach-Object { Move-Item "$_" "$_.disabled" }
- name: Environment (common)
run: |
echo ::set-env name=GH_ACTIONS::1
echo ::set-env name=RUSTC_WRAPPER::sccache
echo ::set-env name=DENO_BUILD_MODE::release
echo ::set-env name=RUST_BACKTRACE::full
- name: Environment (linux)
if: startsWith(matrix.os, 'ubuntu')
# In order to test the installer scripts in std we need a deno