From 69cdef116aaeb79c977b0d18cfc38012f8233496 Mon Sep 17 00:00:00 2001 From: Bing-Hua Wang Date: Thu, 8 Apr 2021 14:41:33 +0800 Subject: [PATCH] ci: Update for GitHub Actions v2.274.2 set-env and add-path have been removed since GitHub Actions v2.274.2. [1] Switch to Environment Files instead. [2] [1] https://github.blog/changelog/2020-11-09-github-actions-removing-set-env-and-add-path-commands-on-november-16/ [2] https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#environment-files --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e3a600..55ff479 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,8 +102,8 @@ jobs: libssl-devel ` dos2unix ` wget - echo "::add-path::C:/tools/cygwin/bin" - echo "::add-path::C:/tools/cygwin/usr/bin" + echo "C:/tools/cygwin/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo "C:/tools/cygwin/usr/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - uses: actions/checkout@v2 - name: convert line ends # checkout action on Windows apparently converts line ends