Skip to content

Commit

Permalink
ci: set cache args to null on self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyzimmer committed Nov 5, 2023
1 parent 2135383 commit fd1bf75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
with:
check-latest: true
node-version-file: .nvmrc
cache: ${{ startswith(vars.BUILD_PLATFORM, 'self-hosted') && null || 'yarn' }}
cache-dependency-path: ${{ startswith(vars.BUILD_PLATFORM, 'self-hosted') && null || env.CACHE_DEP_PATH }}

- name: Install Wine on Hosted Runners
if: ${{ !startswith(vars.BUILD_PLATFORM, 'self-hosted') }}
Expand Down

0 comments on commit fd1bf75

Please sign in to comment.