-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add spark2.4.6 to maven-publish-scala #5138
Conversation
@@ -84,6 +85,21 @@ jobs: | |||
sed -i 's/<artifactId>bigdl-parent-spark_${spark.version}<\/artifactId>/<artifactId>bigdl-parent-spark_3.1.2<\/artifactId>/' scala/assembly/pom.xml | |||
mvn -Dhttp.proxyHost=${{ secrets.HTTP_PROXY_HOST_2 }} -Dhttp.proxyPort=${{ secrets.HTTP_PROXY_PORT_2 }} -Dhttps.proxyHost=${{ secrets.HTTP_PROXY_HOST_2 }} -Dhttps.proxyPort=${{ secrets.HTTP_PROXY_PORT_3 }} clean deploy -DskipTests -Dspark.version=3.1.2 -DSPARK_PLATFORM=SPARK_3.1 -P spark_3.x --file scala/pom.xml | |||
|
|||
#spark 2.4.6 | |||
sed -i 's/<artifactId>${spark-version.project}<\/artifactId>/<artifactId>${spark-version.project}-${SPARK_PLATFORM}<\/artifactId>/' scala/dllib/pom.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should cp some copies for the original pom since they need to be modified twice
@@ -58,8 +63,8 @@ jobs: | |||
} | |||
},{ | |||
"id": "ossrh", | |||
"username": "${{ secrets.OSSRH_USERNAME }}", | |||
"password": "${{ secrets.OSSRH_PASSWORD }}", | |||
"username": "${OSSRH_USERNAME}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put this in
env:
like
- name: Do something
env:
FOO_TOKEN: ${{ secrets.FOO_TOKEN }}
run: |
echo "FOO_TOKEN = ${FOO_TOKEN}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put this in env:
like
- name: Do something
env:
FOO_TOKEN: ${{ secrets.FOO_TOKEN }}
run: |
echo "FOO_TOKEN = ${FOO_TOKEN}"
test:
- name: Set up OSSRH
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
run: |
echo "OSSRH_USERNAME = ${OSSRH_USERNAME}"
echo "OSSRH_PASSWORD = ${OSSRH_PASSWORD}"
still can't get it
Run echo "OSSRH_USERNAME = ${OSSRH_USERNAME}"
OSSRH_USERNAME =
OSSRH_PASSWORD =
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
add spark2.4.6 to maven-publish-scala, currently only spark3.1.2