File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1818 <groupId >com.uber</groupId >
1919 <artifactId >h3</artifactId >
2020 <packaging >jar</packaging >
21- <version >4.1.0 </version >
21+ <version >4.0.3-SNAPSHOT </version >
2222 <name >h3</name >
2323 <url >https://github.com/uber/h3-java</url >
2424 <description >Java bindings for H3, a hierarchical hexagonal geospatial indexing system.</description >
4040 <connection >scm:git:git://github.com/uber/h3-java.git</connection >
4141 <
developerConnection >scm:git:ssh://
[email protected] /uber/h3-java.git</
developerConnection >
4242 <url >http://github.com/uber/h3-java/tree/master</url >
43- <tag >v4.1.0 </tag >
43+ <tag >HEAD </tag >
4444 </scm >
4545
4646 <developers >
Original file line number Diff line number Diff line change @@ -35,16 +35,17 @@ GITHUB_ARTIFACTS_RUN=$1
3535EXTRACT_TO=src/main/resources
3636
3737if [ -z " $GITHUB_ARTIFACTS_RUN " ]; then
38+ GIT_REVISION=$( git rev-parse HEAD)
3839 mkdir -p target
3940 pushd target
4041
4142 ARTIFACTS_LIST=$( gh api \
4243 -H " Accept: application/vnd.github+json" \
4344 /repos/{owner}/{repo}/actions/artifacts)
4445
45- echo " downloading artifacts for run $GITHUB_ARTIFACTS_RUN "
46+ echo " downloading artifacts for run $GIT_REVISION "
4647 TO_DOWNLOAD=$( echo " $ARTIFACTS_LIST " \
47- | jq " .artifacts[] | select(.workflow_run.id == \" $GITHUB_ARTIFACTS_RUN \" )" )
48+ | jq " .artifacts[] | select(.workflow_run.head_sha == \" $GIT_REVISION \" )" )
4849
4950 echo $TO_DOWNLOAD | jq -c ' .' | while read artifactline; do
5051 ARTIFACT_NAME=$( echo $artifactline | jq -r .name)
You can’t perform that action at this time.
0 commit comments