Skip to content

Commit

Permalink
fix cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
elahrvivaz committed Sep 23, 2024
1 parent 7840777 commit ff26092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Generate cache key
env:
MOD_SELECTOR: "${{ inputs.module-selector }}"
run: echo "MOD_SELECTOR=\"${MOD_SELECTOR// /}\"" >> $GITHUB_ENV
run: echo "MOD_SELECTOR=$(echo $MOD_SELECTOR | sed 's/[^a-zA-Z0-9_.-]/-/g')" >> $GITHUB_ENV
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
key: ${{ hashFiles('**/pom.xml') }}-unit-tests-${{ inputs.scala-version }}-${{ env.MOD_SELECTOR }}
Expand Down

0 comments on commit ff26092

Please sign in to comment.