Skip to content

Commit c9a2a51

Browse files
committed
ci: fix incorrect equality comparison for read-write cache
1 parent 58907a7 commit c9a2a51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/setup-nx-remote-cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
- run: echo AZURE_STORAGE_CONNECTION_STRING='${{ inputs.read-write-azure-connection-string }}' >> $GITHUB_ENV
3232
shell: bash
3333
name: Set AZURE_STORAGE_CONNECTION_STRING
34-
if: ${{ inputs.event-name == 'push' && inputs.cache-mode != 'read-write' }}
34+
if: ${{ inputs.event-name == 'push' && inputs.cache-mode == 'read-write' }}
3535

3636
- run: echo AZURE_STORAGE_CONNECTION_STRING='${{ inputs.read-only-azure-connection-string }}' >> $GITHUB_ENV
3737
shell: bash

0 commit comments

Comments
 (0)