@@ -133,7 +133,7 @@ jobs:
133133 - publish-ingestion-jar
134134 runs-on : ubuntu-latest
135135 env :
136- INGESTION_JAR_PATH : /shared/feast-ingestion-spark-${GITHUB_SHA} .jar
136+ INGESTION_JAR_PATH : /shared/feast-ingestion-spark-develop .jar
137137 steps :
138138 - uses : actions/checkout@v2
139139 - name : Download ingestion jar
@@ -151,26 +151,24 @@ jobs:
151151 - uses : actions/setup-java@v1
152152 with :
153153 java-version : ' 11'
154- - name : MVN cache
154+ - name : Cache local Maven repository
155155 uses : actions/cache@v2
156- env :
157- cache-name : cache-mvn-repo
158156 with :
159157 path : ~/.m2/repository
160- key : ${{ runner.os }}-build-${{ env.cache-name }} -${{ hashFiles('**/pom.xml') }}
158+ key : ${{ runner.os }}-maven -${{ hashFiles('**/pom.xml') }}
161159 restore-keys : |
162- ${{ runner.os }}-build-${{ env.cache-name }} -
160+ ${{ runner.os }}-maven -
163161 - name : build-jar
164162 env :
165163 # Try to add retries to prevent connection resets
166164 # https://github.community/t/getting-maven-could-not-transfer-artifact-with-500-error-when-using-github-actions/17570
167165 # https://github.com/actions/virtual-environments/issues/1499#issuecomment-718396233
168166 MAVEN_OPTS : -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
169167 MAVEN_EXTRA_OPTS : -X
170- run : make build-java-no-tests REVISION=${GITHUB_SHA}
168+ run : make build-java-no-tests REVISION=develop
171169 - name : Upload ingestion jar
172170 uses : actions/upload-artifact@v2
173171 with :
174172 name : ingestion-jar
175- path : spark/ingestion/target/feast-ingestion-spark-${{ GITHUB_SHA }} .jar
173+ path : spark/ingestion/target/feast-ingestion-spark-develop .jar
176174 retention-days : 1
0 commit comments