diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2020-11-11 23:54:43 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2020-11-12 01:25:00 -0700 |
| commit | fa54b8a08c8812db4141ca9a1bf992488624476a (patch) | |
| tree | c0c86f9327a8b14fe94b739751e9dfcb7ac20d80 /.github/workflows/ci.yml | |
| parent | aa0554a789dce2e6fef2f04f52d0b595670ba1bd (diff) | |
use version of choco on Windows provided by CI virtual environment
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4acfa9b9..9f9eda66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: runs-on: ${{ matrix.os }} env: JRUBY_OPTS: '-J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-Xss2m -Xcompile.invokedynamic=false' - PYGMENTS_VERSION: '~> 1.2.0' # NOTE: test runner will automatically disable Pygments tests on JRuby for Windows + PYGMENTS_VERSION: '~> 1.2.0' # test runner will automatically disable Pygments tests on JRuby for Windows RGHOST_VERSION: '0.9.7' steps: - name: Checkout @@ -79,14 +79,11 @@ jobs: - name: Install Ghostscript (Linux) if: matrix.os == 'ubuntu-latest' run: sudo apt-get install ghostscript poppler-utils - - name: Install Ghostscript (Windows) + - name: Install Ghostscript and add path to env (Windows) if: matrix.os == 'windows-latest' - uses: crazy-max/ghaction-chocolatey@v1 - with: - args: install --no-progress ghostscript - - name: Set Ghostscript path (Windows) - if: matrix.os == 'windows-latest' - run: echo "GS=$(& where.exe /R 'C:\Program Files\gs' gswin64c.exe)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + run: | + choco install --no-progress ghostscript + echo "GS=$(& where.exe /R 'C:\Program Files\gs' gswin64c.exe)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Install dependencies run: bundle --jobs 3 --retry 3 - name: Switch to Prawn master |
