ruby-changes:60831
From: MSP-Greg <ko1@a...>
Date: Sun, 19 Apr 2020 09:35:32 +0900 (JST)
Subject: [ruby-changes:60831] c0b9326749 (master): Update workflows/mingw.yml - use setup-ruby-pkgs (#3042)
https://git.ruby-lang.org/ruby.git/commit/?id=c0b9326749 From c0b93267497d47858ea9539ef863be321bc1ddbf Mon Sep 17 00:00:00 2001 From: MSP-Greg <MSP-Greg@u...> Date: Sat, 18 Apr 2020 19:35:19 -0500 Subject: Update workflows/mingw.yml - use setup-ruby-pkgs (#3042) MSP-Greg/actions-ruby is deprecated... diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index b670429..8ee58fa 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -2,10 +2,7 @@ name: MinGW https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L2 on: [push, pull_request] # Notes: -# Action ENV TEMP and TMP are short 8.3 paths, but the long path differs. -# Code uses TMPDIR, which is Ruby's 'first' check -# -# Console encoding causes issues, see test-all & test-spec steps +# Actions console encoding causes issues, see test-all & test-spec steps # jobs: make: @@ -46,11 +43,10 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L43 shell: bash id: commit_info - name: Set up Ruby & MSYS2 - uses: MSP-Greg/actions-ruby@master + uses: MSP-Greg/setup-ruby-pkgs@v1 with: - ruby-version: 2.6.x - base: update - mingw: gdbm gmp libffi libyaml openssl ragel readline + ruby-version: 2.6 + mingw: _upgrade_ gdbm gmp libffi libyaml openssl ragel readline msys2: automake1.16 bison - name: where check run: | @@ -110,14 +106,12 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L106 timeout-minutes: 5 working-directory: build run: | - $env:TMPDIR = "$pwd/../temp" make test - name: test-all timeout-minutes: 50 working-directory: build run: | - $env:TMPDIR = "$pwd/../temp" # Actions uses UTF8, causes test failures, similar to normal OS setup $PSDefaultParameterValues['*:Encoding'] = 'utf8' [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") @@ -129,8 +123,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L123 timeout-minutes: 10 working-directory: src/spec/ruby run: | - $env:TMPDIR = "$pwd/../../../temp" - $env:PATH = "$pwd/../../../install/bin;$env:PATH" + $env:Path = "$pwd/../../../install/bin;$env:Path" # Actions uses UTF8, causes test failures, similar to normal OS setup $PSDefaultParameterValues['*:Encoding'] = 'utf8' [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/