Skip to content

Commit

Permalink
Merge pull request #17 from playframework/CACHE_HIT_COURSIER
Browse files Browse the repository at this point in the history
Provide CACHE_HIT_COURSIER (`steps` is not available from caller workflow)
  • Loading branch information
mkurz authored Apr 29, 2022
2 parents 425128b + 14f420a commit 272efb1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/binary-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Coursier Cache
id: coursier-cache
uses: coursier/cache-action@v6.3
uses: coursier/cache-action@v6.3.1

- name: Install Adoptium Temurin OpenJDK
uses: coursier/setup-action@v1.2.0-M3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Coursier Cache
id: coursier-cache
uses: coursier/cache-action@v6.3
uses: coursier/cache-action@v6.3.1

- name: Install Adoptium Temurin OpenJDK
uses: coursier/setup-action@v1.2.0-M3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/sbt-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ jobs:

- name: Coursier Cache
id: coursier-cache
uses: coursier/cache-action@v6.3
uses: coursier/cache-action@v6.3.1

- name: Saving cache-hit-coursier env variable
run: echo 'CACHE_HIT_COURSIER=${{ steps.coursier-cache.outputs.cache-hit-coursier }}' >> $GITHUB_ENV

- name: Custom Cache
uses: actions/cache@v2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/sbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ jobs:

- name: Coursier Cache
id: coursier-cache
uses: coursier/cache-action@v6.3
uses: coursier/cache-action@v6.3.1

- name: Saving cache-hit-coursier env variable
run: echo 'CACHE_HIT_COURSIER=${{ steps.coursier-cache.outputs.cache-hit-coursier }}' >> $GITHUB_ENV

- name: Custom Cache
uses: actions/cache@v2
Expand Down

0 comments on commit 272efb1

Please sign in to comment.