We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638d84d commit 7520d8fCopy full SHA for 7520d8f
1 file changed
.github/actions/install_solidus/action.yml
@@ -56,4 +56,14 @@ runs:
56
cd $RUNNER_TEMP/my_app
57
bundle add solidus --path "$(ruby -e"puts File.expand_path ENV['GITHUB_WORKSPACE']")"
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
69
bin/rails generate solidus:install --auto-accept ${{ inputs.flags }}
0 commit comments