-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(datahub-client): additionally generates java8 artefacts #297
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,3 +196,52 @@ jobs: | |
echo signingKey=$SIGNING_KEY >> gradle.properties | ||
./gradlew -PreleaseVersion=${{ needs.setup.outputs.tag }} :metadata-integration:java:custom-plugin-lib:publish | ||
./gradlew :metadata-integration:java:custom-plugin-lib:closeAndReleaseRepository --info | ||
publish-java8: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: read | ||
needs: ["check-secret", "setup"] | ||
if: ${{ needs.check-secret.outputs.publish-enabled == 'true' }} | ||
steps: | ||
- uses: acryldata/sane-checkout-action@v3 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "zulu" | ||
java-version: 17 | ||
- uses: gradle/actions/setup-gradle@v3 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
- name: checkout upstream repo | ||
run: | | ||
git remote add upstream https://github.com/datahub-project/datahub.git | ||
git fetch upstream --tags --force --filter=tree:0 | ||
- name: publish datahub-client jar snapshot | ||
if: ${{ github.event_name != 'release' }} | ||
env: | ||
RELEASE_USERNAME: ${{ secrets.RELEASE_USERNAME }} | ||
RELEASE_PASSWORD: ${{ secrets.RELEASE_PASSWORD }} | ||
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | ||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | ||
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
run: | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶 |
||
echo signingKey=$SIGNING_KEY >> gradle.properties | ||
./gradlew :metadata-integration:java:datahub-client:printVersion -PjavaClassVersionDefault=8 -ParchiveAppendix=java8 | ||
./gradlew :metadata-integration:java:datahub-client:publish -PjavaClassVersionDefault=8 -ParchiveAppendix=java8 | ||
- name: release datahub-client jar | ||
if: ${{ github.event_name == 'release' }} | ||
env: | ||
RELEASE_USERNAME: ${{ secrets.RELEASE_USERNAME }} | ||
RELEASE_PASSWORD: ${{ secrets.RELEASE_PASSWORD }} | ||
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | ||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | ||
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
run: | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [actionlint] reported by reviewdog 🐶 |
||
echo signingKey=$SIGNING_KEY >> gradle.properties | ||
./gradlew -PreleaseVersion=${{ needs.setup.outputs.tag }} :metadata-integration:java:datahub-client:publish -PjavaClassVersionDefault=8 -ParchiveAppendix=java8 | ||
./gradlew :metadata-integration:java:datahub-client:closeAndReleaseRepository --info -PjavaClassVersionDefault=8 -ParchiveAppendix=java8 |
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.
[actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:2:48: Double quote to prevent globbing and word splitting [shellcheck]
datahub/.github/workflows/publish-datahub-jars.yml
Line 29 in 54c5649