Skip to content

Commit

Permalink
Upload regenerated yarn.lock on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lzm0 committed Mar 12, 2024
1 parent 1f80851 commit a84c797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ runs:
if: ${{ failure() && steps.install-dependencies.conclusion == 'failure' }}
shell: bash
env:
CI: 0
YARN_CHECKSUM_BEHAVIOR: update
run: yarn install
working-directory: ${{ inputs.working-directory }}

- name: Upload yarn.lock on failure
- name: Upload regenerated yarn.lock on failure
if: ${{ failure() && steps.install-dependencies.conclusion == 'failure' }}
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a84c797

Please sign in to comment.