Skip to content

Commit

Permalink
mvn cache
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>

pipeline fails

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>

pipeline fails

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>

pipeline fails

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
  • Loading branch information
pyalex committed Nov 17, 2020
1 parent 5f086cc commit b355609
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- publish-ingestion-jar
runs-on: ubuntu-latest
env:
INGESTION_JAR_PATH: /shared/feast-ingestion-spark-${GITHUB_SHA}.jar
INGESTION_JAR_PATH: /shared/feast-ingestion-spark-develop.jar
steps:
- uses: actions/checkout@v2
- name: Download ingestion jar
Expand All @@ -151,26 +151,24 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: '11'
- name: MVN cache
- name: Cache local Maven repository
uses: actions/cache@v2
env:
cache-name: cache-mvn-repo
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-maven-
- name: build-jar
env:
# Try to add retries to prevent connection resets
# https://gh.neting.ccmunity/t/getting-maven-could-not-transfer-artifact-with-500-error-when-using-github-actions/17570
# https://github.com/actions/virtual-environments/issues/1499#issuecomment-718396233
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
MAVEN_EXTRA_OPTS: -X
run: make build-java-no-tests REVISION=${GITHUB_SHA}
run: make build-java-no-tests REVISION=develop
- name: Upload ingestion jar
uses: actions/upload-artifact@v2
with:
name: ingestion-jar
path: spark/ingestion/target/feast-ingestion-spark-${{ GITHUB_SHA }}.jar
path: spark/ingestion/target/feast-ingestion-spark-develop.jar
retention-days: 1

0 comments on commit b355609

Please sign in to comment.