summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-09 15:04:59 +0900
committerKazuhiro NISHIYAMA <znz@users.noreply.github.com>2019-12-09 16:08:12 +0900
commita5e6a50cb8e4acd4feee2ad3a61eac568f2c62b6 (patch)
tree491404c418f37380916cbc719cfd7b9d87392cbe
parentea8f03e86c57ff28154345865a2560b8895f3e68 (diff)
Add cache of cygwin packages
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2733
-rw-r--r--.github/workflows/cygwin.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 5949e57a35f..09df0f24ab1 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -27,9 +27,16 @@ jobs:
- name: Install cygwin base packages with chocolatey
run: |
choco install --no-progress cygwin
+ - uses: actions/cache@v1
+ with:
+ path: C:\tools\cygwin\package
+ key: ${{ runner.os }}-cygwin-package-${{ matrix.os }}-${{ github.sha }}
+ restore-keys: |
+ ${{ runner.os }}-cygwin-package-${{ matrix.os }}-
+ ${{ runner.os }}-cygwin-package-
- name: Install cygwin additional packages
run: |
- C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P autoconf,bison,gcc-core,git,libcrypt-devel,libedit-devel,libffi-devel,libgdbm-devel,libgmp-devel,libintl-devel,libncurses-devel,libreadline-devel,libssl-devel,libuuid-devel,make,patch,ruby,tcl-tk-devel,zlib-devel
+ C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -l C:/tools/cygwin/package -s http://mirrors.kernel.org/sourceware/cygwin/ -P autoconf,bison,gcc-core,git,libcrypt-devel,libedit-devel,libffi-devel,libgdbm-devel,libgmp-devel,libintl-devel,libncurses-devel,libreadline-devel,libssl-devel,libuuid-devel,make,patch,ruby,tcl-tk-devel,zlib-devel
shell: cmd
- name: Set ENV
run: |