ruby-changes:59126
From: Kazuhiro <ko1@a...>
Date: Mon, 9 Dec 2019 16:08:32 +0900 (JST)
Subject: [ruby-changes:59126] a5e6a50cb8 (master): Add cache of cygwin packages
https://git.ruby-lang.org/ruby.git/commit/?id=a5e6a50cb8 From a5e6a50cb8e4acd4feee2ad3a61eac568f2c62b6 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 9 Dec 2019 15:04:59 +0900 Subject: Add cache of cygwin packages diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 5949e57..09df0f2 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -27,9 +27,16 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/cygwin.yml#L27 - 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/