summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2022-06-20 13:30:50 +1000
committerTony Cook <tony@develop-help.com>2022-06-22 11:12:04 +1000
commitfb063fda93bc6af6ed8928df810c491d19623f1c (patch)
tree20e6d28b57ace93866ad1dd0434c3dfd7fded3ca /.github/workflows
parent8bde4793b8b1dfdd6be2f3ddc1fdf4f7f5c5b01e (diff)
downloadperl-fb063fda93bc6af6ed8928df810c491d19623f1c.tar.gz
use the cygwin install action instead of choco
Removed "gcc" and "lib" from the package list since there are no such packages.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/testsuite.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index 639a87974e..abcd3f0ca1 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -443,12 +443,12 @@ jobs:
# we use Cygwin git, so no need to configure git here.
- name: Set up Cygwin
- shell: cmd
- run: |
- choco install cygwin --params="/InstallDir:%GITHUB_WORKSPACE%\cygwin"
- choco install cyg-get
- cyg-get cygwin-devel gcc-core gcc gcc-g++ make cygwin64-w32api-headers ^
- binutils libtool git ccache lib libgdbm-devel libdb-devel
+ uses: cygwin/cygwin-install-action@v2
+ with:
+ packages: >
+ cygwin-devel gcc-core gcc-g++ make w32api-headers binutils libtool
+ git ccache libgdbm-devel libdb-devel
+ install-dir: ${{ github.workspace }}\cygwin
- name: Check out using Cygwin git, to ensure correct file permissions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}