File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,19 +56,20 @@ jobs:
5656 git commit -m "Pin outdated packages"
5757
5858 - name : Run in dry-run mode
59+ id : run-importmaps-dry-run
5960 uses : ./
60- env :
61- IMPORTMAP_RUN_LOG : ${{ runner.temp }}/dry-run-output.txt
6261 with :
6362 github-token : ${{ secrets.GITHUB_TOKEN }}
6463 dry-run : " true"
6564 rails-root : ${{ runner.temp }}/test-app
6665
6766 - name : Assert all outdated packages appear in dry-run output
67+ env :
68+ IMPORTMAP_RUN_LOG : ${{ jobs.run-importmaps-dry-run.steps.run-importmaps-update.outputs.run-log }}
6869 run : |
6970 failed=0
7071 for pkg in hotkeys-js is-svg just-extend local-time md5 tom-select; do
71- if grep -q "$pkg" $RUNNER_TEMP/dry-run-output.txt ; then
72+ if grep -q "$pkg" <<< "$IMPORTMAP_RUN_LOG" ; then
7273 echo "✓ $pkg"
7374 else
7475 echo "✗ $pkg not found in output"
You can’t perform that action at this time.
0 commit comments