Skip to content

Commit 71c0c61

Browse files
authored
fix: update to push snapshot to maven local for iceberg build (#350)
We currently don't use the snapshot build when building the iceberg artifacts this fixes that. Also adding a manual trigger so we can test downstream changes and trigger this independent of a PR. #### Does this contribution need a changelog entry? - [x] I have updated the CHANGELOG or README if appropriate --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). --------- Signed-off-by: stubz151 <[email protected]>
1 parent 5790b84 commit 71c0c61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-upload.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build and upload artifact JARs to S3 treatment bucket
22

33
# Controls when the action will run. Invokes the workflow on push events but only for the main branch
44
on:
5+
workflow_dispatch:
56
push:
67
branches:
78
- main
@@ -36,7 +37,7 @@ jobs:
3637

3738
- name: Build with Gradle
3839
run: |
39-
./gradlew -PsnapshotBuild=true build
40+
./gradlew -PsnapshotBuild=true build publishToMavenLocal
4041
./gradlew jmhJar
4142
4243
- uses: actions/upload-artifact@v4
@@ -171,4 +172,4 @@ jobs:
171172
run: aws s3 cp iceberg-spark-runtime-3.5_2.12-1.6.0-SNAPSHOT.jar s3://${{ env.S3_BUCKET }}/s3fileio/iceberg-spark-runtime-3.5_2.12-1.6.0-SNAPSHOT.jar
172173

173174
# - name: Upload Hadoop JAR to S3A treatment bucket
174-
# run: aws s3 cp hadoop-aws-3.5.0-SNAPSHOT.jar s3://${{ env.S3_BUCKET }}/s3a/hadoop-aws-3.5.0-SNAPSHOT.jar
175+
# run: aws s3 cp hadoop-aws-3.5.0-SNAPSHOT.jar s3://${{ env.S3_BUCKET }}/s3a/hadoop-aws-3.5.0-SNAPSHOT.jar

0 commit comments

Comments
 (0)