@@ -37,8 +37,8 @@ inputs:
3737runs :
3838 using : " composite"
3939 steps :
40- - id : save-importmap-outputs
41- name : Save importmap outputs
40+ - id : run-importmaps
41+ name : Run importmap audit and outdated
4242 shell : bash
4343 working-directory : ${{ inputs.rails-root }}
4444 run : |
@@ -61,17 +61,19 @@ runs:
6161 shell : bash
6262 working-directory : ${{ github.action_path }}
6363 env :
64- BUNDLE_GEMFILE : ${{ github.action_path }}/Gemfile
65- RAILS_ROOT : ${{ inputs.rails-root }}
66- GITHUB_TOKEN : ${{ inputs.github-token }}
67- GITHUB_REPOSITORY : ${{ github.repository }}
68- INPUT_CONFIG_FILE : ${{ inputs.config-file }}
69- IMPORTMAP_BASE_BRANCH : ${{ inputs.base-branch }}
70- IMPORTMAP_DRY_RUN : ${{ inputs.dry-run }}
71- IMPORTMAP_AUTHOR_NAME : ${{ inputs.author-name }}
72- IMPORTMAP_AUTHOR_EMAIL : ${{ inputs.author-email }}
73- IMPORTMAP_OUTDATED_FILE : ${{ runner.temp }}/importmap-outdated.txt
74- IMPORTMAP_AUDIT_FILE : ${{ runner.temp }}/importmap-audit.txt
64+ BUNDLE_GEMFILE : ${{ github.action_path }}/Gemfile
65+ RAILS_ROOT : ${{ inputs.rails-root }}
66+ GITHUB_TOKEN : ${{ inputs.github-token }}
67+ GITHUB_REPOSITORY : ${{ github.repository }}
68+ INPUT_CONFIG_FILE : ${{ inputs.config-file }}
69+ IMPORTMAP_BASE_BRANCH : ${{ inputs.base-branch }}
70+ IMPORTMAP_DRY_RUN : ${{ inputs.dry-run }}
71+ IMPORTMAP_AUTHOR_NAME : ${{ inputs.author-name }}
72+ IMPORTMAP_AUTHOR_EMAIL : ${{ inputs.author-email }}
73+ IMPORTMAP_OUTDATED_FILE : ${{ runner.temp }}/importmap-outdated.txt
74+ IMPORTMAP_AUDIT_FILE : ${{ runner.temp }}/importmap-audit.txt
75+ IMPORTMAP_OUTDATED_OUTPUT : ${{ steps.run-importmaps.outputs.importmap-outdated }}
76+ IMPORTMAP_AUDIT_OUTPUT : ${{ steps.run-importmaps.outputs.importmap-audit }}
7577 run : |
7678 bundle install
7779 bundle exec exe/importmap-update 2>&1 | tee "${IMPORTMAP_RUN_LOG:-/dev/null}"
0 commit comments