[前][次][番号順一覧][スレッド一覧]

ruby-changes:62505

From: Nobuyoshi <ko1@a...>
Date: Sat, 1 Aug 2020 19:05:21 +0900 (JST)
Subject: [ruby-changes:62505] b6175c9e4f (master): mswin build - install src zlib files after checkout

https://git.ruby-lang.org/ruby.git/commit/?id=b6175c9e4f

From b6175c9e4fe25b978252d8998fe791d65d998fc5 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 1 Aug 2020 17:51:42 +0900
Subject: mswin build - install src zlib files after checkout

actions/checkout deletes the contents of the source directory.

diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 16f663b..6bc0fab 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -23,11 +23,6 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L23
       - name: Install libraries with vcpkg
         run: |
           vcpkg --triplet x64-windows install readline
-      - name: zlib
-        run: |
-          $zlib = 'zlib1211.zip'
-          curl -fsSL -o $zlib --retry 10 https://zlib.net/$zlib
-          &'C:\Program Files\7-Zip\7z.exe' x -osrc/ext/zlib $zlib
       - uses: actions/cache@v2
         with:
           path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
@@ -47,6 +42,11 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L42
       - run: ./src/tool/actions-commit-info.sh
         shell: bash
         id: commit_info
+      - name: Install zlib
+        run: |
+          $zlib = 'zlib1211.zip'
+          curl -fsSL -o $zlib --retry 10 https://zlib.net/$zlib
+          &'C:\Program Files\7-Zip\7z.exe' x -osrc/ext/zlib $zlib
       - run: md build
         shell: cmd
       - name: Configure
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]