From a5e6a50cb8e4acd4feee2ad3a61eac568f2c62b6 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 9 Dec 2019 15:04:59 +0900 Subject: Add cache of cygwin packages --- .github/workflows/cygwin.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 5949e57a35..09df0f24ab 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: | -- cgit v1.2.3