Skip to content
Permalink
Browse files
NO-JIRA: update GHA cache config to workaorund broken exclusions, twe…
…ak excludes, skip cache for tags

include token pom change to prod creation of a new cache
  • Loading branch information
gemmellr committed Oct 13, 2021
1 parent 2383aa0 commit 84b0c1118b1164e314fcf594315e9cbf38d1b208
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
@@ -13,13 +13,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2

- name: Cache Maven Local Repo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/cache@v2
with:
path: |
~/.m2/repository
!~/.m2/repository/org/apache/activemq/artemis-*
!~/.m2/repository/org/apache/activemq/*-artemis
~/.m2/repository/*/*/*/*/*
!~/.m2/repository/org/apache/activemq/**/*-SNAPSHOT
!~/.m2/repository/org/apache/activemq/examples
!~/.m2/repository/org/apache/activemq/tests
key: ${{ runner.os }}-maven-test-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-test-
@@ -47,13 +50,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2

- name: Cache Maven Local Repo
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/cache@v2
with:
path: |
~/.m2/repository
!~/.m2/repository/org/apache/activemq/artemis-*
!~/.m2/repository/org/apache/activemq/*-artemis
~/.m2/repository/*/*/*/*/*
!~/.m2/repository/org/apache/activemq/**/*-SNAPSHOT
!~/.m2/repository/org/apache/activemq/examples
!~/.m2/repository/org/apache/activemq/tests
key: ${{ runner.os }}-maven-checks-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-checks-
@@ -1860,7 +1860,6 @@
</reportSet>
</reportSets>
</plugin>

</plugins>
</reporting>

0 comments on commit 84b0c11

Please sign in to comment.