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
This commit is contained in:
Bing-Hua Wang 2021-04-08 14:41:33 +08:00 committed by Alexander Amelkin
parent 9a86189425
commit 69cdef116a

View File

@ -102,8 +102,8 @@ jobs:
libssl-devel ` libssl-devel `
dos2unix ` dos2unix `
wget wget
echo "::add-path::C:/tools/cygwin/bin" echo "C:/tools/cygwin/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "::add-path::C:/tools/cygwin/usr/bin" echo "C:/tools/cygwin/usr/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: convert line ends - name: convert line ends
# checkout action on Windows apparently converts line ends # checkout action on Windows apparently converts line ends