File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
.github/actions/install_solidus Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 56
56
cd $RUNNER_TEMP/my_app
57
57
bundle add solidus --path "$(ruby -e"puts File.expand_path ENV['GITHUB_WORKSPACE']")"
58
58
unset RAILS_ENV # avoid doing everything on the test environment
59
+
60
+ # Due to [a bug in `sprockets-rails`](https://github.com/rails/sprockets-rails/pull/546) we need to manually add
61
+ # the sprockets manifest into the generated rails app **before** running any rails commands inside the rails app folder.
62
+ mkdir -p app/assets/config
63
+ cat <<MANIFEST > app/assets/config/manifest.js
64
+ //= link_tree ../images
65
+ //= link_directory ../javascripts .js
66
+ //= link_directory ../stylesheets .css
67
+ MANIFEST
68
+
59
69
bin/rails generate solidus:install --auto-accept ${{ inputs.flags }}
You can’t perform that action at this time.
0 commit comments