Skip to content

Commit

Permalink
ci: fix cache runner type prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
oleschoenburg committed Apr 27, 2023
1 parent 7fa26fc commit 1f016d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-zeebe/action.yml
Expand Up @@ -116,15 +116,15 @@ runs:
-D maven.artifact.threads=32
EOF
- name: Cache local Maven repository
if: inputs.java == 'true' && !startsWith(runner.name, 'actions-runner-')
if: inputs.java == 'true' && startsWith(runner.name, 'actions-runner-')
uses: actions/cache@v3
with:
path: ~/.m2/repository/cached/releases/
key: self-hosted-${{ runner.os }}-mvn-${{ inputs.maven-cache-key-modifier }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
self-hosted-${{ runner.os }}-mvn-${{ inputs.maven-cache-key-modifier }}
- name: Cache local Maven repository
if: inputs.java == 'true' && startsWith(runner.name, 'actions-runner-')
if: inputs.java == 'true' && !startsWith(runner.name, 'actions-runner-')
uses: actions/cache@v3
with:
path: ~/.m2/repository/cached/releases/
Expand Down

0 comments on commit 1f016d6

Please sign in to comment.