Remove fat-jars and update dependencies #119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push openml-java packages to maven central repository | |
on: | |
push: | |
tags: | |
- '*.*.*' # release tags | |
branches: | |
- 'master' | |
- 'hf-*' # hotfix branches | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git fetch -f --tags | |
echo exit code $? | |
git tag --list | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'zulu' | |
server-id: ossrh | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: "arm64" | |
- name: Publish maven package | |
run: mvn deploy -B -Prelease --batch-mode -DskipTests=true | |
env: | |
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER }} | |
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASS }} | |
PGP_KEY_ID: ${{ secrets.PGP_KEY_ID }} | |
PGP_PASS: ${{ secrets.PGP_PASS }} |