File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 with :
5555 github-token : ${{ secrets.GITHUB_TOKEN }}
5656 dry-run : " true"
57- working-directory : /tmp/test-app
57+ rails-root : /tmp/test-app
5858
5959 - name : Assert all outdated packages appear in dry-run output
6060 run : |
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ inputs:
3232 description : " Git author email for commits."
3333 required : false
3434 default : " github-actions[bot]@users.noreply.github.com"
35- working-directory :
35+ rails-root :
3636 description : " Directory containing the Rails app to run against. Useful when the app lives in a subdirectory or for integration testing."
3737 required : false
3838 default : " ."
@@ -43,18 +43,20 @@ runs:
4343 - name : Set up Ruby
4444 uses : ruby/setup-ruby@v1
4545 with :
46- bundler-cache : true
46+ bundler-cache : false
4747 working-directory : ${{ github.action_path }}
4848
4949 - name : Run importmap-update
5050 shell : bash
51- working-directory : ${{ inputs.working-directory }}
51+ working-directory : ${{ github.action_path }}
5252 env :
53+ BUNDLE_GEMFILE : ${{ github.action_path }}/Gemfile
54+ RAILS_ROOT : ${{ inputs.rails-root }}
5355 GITHUB_TOKEN : ${{ inputs.github-token }}
5456 GITHUB_REPOSITORY : ${{ github.repository }}
5557 INPUT_CONFIG_FILE : ${{ inputs.config-file }}
5658 IMPORTMAP_BASE_BRANCH : ${{ inputs.base-branch }}
5759 IMPORTMAP_DRY_RUN : ${{ inputs.dry-run }}
5860 IMPORTMAP_AUTHOR_NAME : ${{ inputs.author-name }}
5961 IMPORTMAP_AUTHOR_EMAIL : ${{ inputs.author-email }}
60- run : bundle exec ${{ github.action_path }}/ exe/importmap-update 2>&1 | tee "${IMPORTMAP_RUN_LOG:-/dev/null}"
62+ run : bundle exec exe/importmap-update 2>&1 | tee "${IMPORTMAP_RUN_LOG:-/dev/null}"
You can’t perform that action at this time.
0 commit comments