diff options
-rw-r--r-- | .github/workflows/main.yml | 4 | ||||
-rw-r--r-- | .github/workflows/pr-check.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6dad657..a7faaa7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,8 +95,8 @@ jobs: if: matrix.os == 'windows-latest' run: | # Set these env vars so cmake picks the correct compiler - echo "::set-env name=CXX::cl.exe" - echo "::set-env name=CC::cl.exe" + echo "CXX=cl.exe" >> $GITHUB_ENV + echo "CC=cl.exe" >> $GITHUB_ENV # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Get Sources diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index e3b9d9b..7cce4d0 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -89,8 +89,8 @@ jobs: if: matrix.os == 'windows-latest' run: | # Set these env vars so cmake picks the correct compiler - echo "::set-env name=CXX::cl.exe" - echo "::set-env name=CC::cl.exe" + echo "CXX=cl.exe" >> $GITHUB_ENV + echo "CC=cl.exe" >> $GITHUB_ENV # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Get Sources |