Skip to content

Commit

Permalink
Merge pull request #2305 from znz/fix-ci-error-on-windows
Browse files Browse the repository at this point in the history
Fix CI errors on windows
  • Loading branch information
znz authored Jun 30, 2020
2 parents 26f8a95 + 5eccbbf commit 61b3a9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
run: |
cd /tmp
mv -v html html.base
git diff --no-index html.base html.pr --stat || :
git diff --no-index html.base html.pr --output artifact/html.diff || :
git diff --no-index html.base html.pr --stat || true
git diff --no-index html.base html.pr --output artifact/html.diff || true
- uses: actions/upload-artifact@v2
with:
name: diff-${{ matrix.os }}-${{ matrix.ruby }}
Expand Down
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ UNRELEASED_VERSIONS = %w[2.8.0]
ALL_VERSIONS = [*OLD_VERSIONS, *SUPPORTED_VERSIONS, *UNRELEASED_VERSIONS]
HTML_DIRECTORY_BASE = ENV.fetch("HTML_DIRECTORY_BASE", "/tmp/html/")

def system(*commands)
puts "Running #{commands.join(' ')}..."
super(*commands)
end

def generate_database(version)
puts "generate database of #{version}"
db = "/tmp/db-#{version}"
Expand Down

0 comments on commit 61b3a9d

Please sign in to comment.