diff options
author | Dario Lombardo <lomato@gmail.com> | 2020-11-17 15:18:12 +0100 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2020-11-19 09:20:17 +0100 |
commit | 4b9dfc3a19e6ea397440d414e1d420e5cee1c719 (patch) | |
tree | b52e62e547b2e6bdcfe14cd11d2a10984c4b4879 /.github | |
parent | 1d7bc367e943464f912a67ad436fabddb1a61a37 (diff) |
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/macos.yml | 2 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index fb3e602443..f5ec3450d2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 54062c8c4a..ec0cf460a5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 |