You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ro...@apache.org on 2021/10/13 14:46:29 UTC
[activemq-artemis] branch main updated: NO-JIRA: update GHA cache
config to workaorund broken exclusions, tweak excludes, skip cache for tags
This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 84b0c11 NO-JIRA: update GHA cache config to workaorund broken exclusions, tweak excludes, skip cache for tags
84b0c11 is described below
commit 84b0c1118b1164e314fcf594315e9cbf38d1b208
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Wed Oct 13 15:43:17 2021 +0100
NO-JIRA: update GHA cache config to workaorund broken exclusions, tweak excludes, skip cache for tags
include token pom change to prod creation of a new cache
---
.github/workflows/build.yml | 22 ++++++++++++++--------
pom.xml | 1 -
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cc52e6e..96df614 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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-
diff --git a/pom.xml b/pom.xml
index 1aa58b0..7bede68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1860,7 +1860,6 @@
</reportSet>
</reportSets>
</plugin>
-
</plugins>
</reporting>