github: fix actions.

The command add-path within the changed actions has been deprecated
according to

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Use shogo82148/actions-setup-perl for strawberryperl on windows.
Upgrade setup-ruby to 1.1.2 on macos.
This commit is contained in:
Dario Lombardo 2020-11-17 15:18:12 +01:00
parent 1d7bc367e9
commit 4b9dfc3a19
No known key found for this signature in database
GPG Key ID: A45A48B6693FB191
2 changed files with 6 additions and 5 deletions

View File

@ -20,7 +20,7 @@ jobs:
- name: Install biplist
run: pip install biplist
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1.1.1
uses: actions/setup-ruby@v1.1.2
with:
ruby-version: '2.6'
- name: Install deps

View File

@ -14,13 +14,14 @@ jobs:
- name: Install winflexbison3
run: cinst -y --force winflexbison3 --version 2.5.18.20190508
- name: Install strawberryperl
run: |
choco install strawberryperl
echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: '5.30'
distribution: strawberry
- name: Install Qt
uses: jurplel/install-qt-action@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.0
uses: microsoft/setup-msbuild@v1.0.2
with:
vs-version: 16.4
- name: Set MSVC command prompt