Skip to content

Commit

Permalink
ci: fix nx cache restore issue (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 authored Jul 10, 2024
1 parent ac8a86b commit 216ef0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:

env:
DISABLE_NX_CACHE: ${{ contains(github.event.pull_request.labels.*.name, 'disable-nx-cache') && 'yes' || 'no' }}
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0

jobs:
lint:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- closed
workflow_dispatch:

env:
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0

jobs:
publish:
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'publish-on-merge'))
Expand Down

0 comments on commit 216ef0f

Please sign in to comment.