diff --git a/.github/workflows/redmine_plugin.yml b/.github/workflows/redmine_plugin.yml index 64bd30d..c43d5c9 100644 --- a/.github/workflows/redmine_plugin.yml +++ b/.github/workflows/redmine_plugin.yml @@ -71,6 +71,14 @@ jobs: restore-keys: | ${{ runner.os }}-gems- + - name: uninitialized constant Nokogiri::HTML4 Issue HACK ref. https://qiita.com/Mattani/items/c4bcc95a72b69d1c0489 + uses: DamianReeves/write-file-action@v1.2 + with: + path: ./redmine/Gemfile.local + contents: | + gem 'loofah', '~> 2.20.0' + if: contains(fromJSON('["2.6 redmine/redmine@4.1.7", "2.6 redmine/redmine@4.0.9", "2.5 redmine/redmine@4.0.9"]'), matrix.mat_env) + - name: Before script run: | bundle config --local path ${BUNDLE_PATH:-vendor/bundle}