Skip to content

Commit

Permalink
⚗️ actions/compile: Debug further
Browse files Browse the repository at this point in the history
  • Loading branch information
alexocode committed May 15, 2024
1 parent d06365a commit c10c08a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/actions/compile/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,11 @@ runs:
echo "MIX_ENV=$MIX_ENV" >>$GITHUB_OUTPUT
echo "Set MIX_ENV to $MIX_ENV"
- shell: sh
run: |
ls _build
ls _build/*/lib
- name: Cache
id: cache
uses: actions/cache@v4
with:
path: _build/${{ steps.compute.outputs.MIX_ENV }}/lib/babel
path: _build/test/lib/babel
key: ${{ inputs.cache-prefix }}-mix:${{ hashFiles('mix.exs') }}-lib:${{ hashFiles('README.md', 'lib/**') }}
restore-keys: |
${{ inputs.cache-prefix }}-mix:${{ hashFiles('mix.exs') }}-
Expand Down Expand Up @@ -88,6 +83,10 @@ runs:
MIX_ENV: ${{ steps.compute.outputs.MIX_ENV }}
run: |
mix compile --warnings-as-errors | tee mix-compile.output
echo _build
ls _build
echo "_build/${{ steps.compute.outputs.MIX_ENV }}/lib/babel"
ls "_build/${{ steps.compute.outputs.MIX_ENV }}/lib/babel"
if ${{ inputs.generate-summary }}; then
echo '<details><summary><code>mix compile</code></summary>'
Expand Down

0 comments on commit c10c08a

Please sign in to comment.