Engine fix : The default KBean was not chosen according alphabetic order #1394
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
# A push on master will build, test and publish Jeka on OSSRH. | |
# Beside it will push the built documentation on the Jeka landing page. | |
# If a tag is present on the last commit, Jeka will publish versioned artifacts according tag name on OSSRH public repo. | |
# If no tag is present, the built artifacts will be published to OSSRH snapshot repository. | |
# This logic is implemented within the Jeka build. | |
name: Java Build and Publish | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: git fetch --prune --unshallow --tag | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Restore JeKa cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: ~/.jeka/cache | |
key: ${{ runner.os }} | |
- name: Build JeKa bootstrapped with ANT | |
env: | |
OSSRH_USER: ${{ secrets.OSSRH_USER }} | |
OSSRH_PWD: ${{ secrets.OSSRH_PWD }} | |
JEKA_GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY}} | |
JEKA_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }} | |
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB }} | |
GITHUB_BRANCH: ${{ github.ref }} | |
run: ant -buildfile .github/workflows/build.xml -Dbasedir=`.` | |
- name: Save JeKa cache | |
uses: actions/cache/save@v4 | |
with: | |
path: ~/.jeka/cache | |
key: ${{ runner.os }} | |
- name: Deploy MkDocs | |
if: github.ref == 'refs/heads/master' | |
uses: mhausenblas/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy distrib to Release | |
if: github.event_name == 'create' && github.ref_type == 'tag' | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: dev.jeka.core/jeka-output/dev.jeka.jeka-core-distrib.zip | |
asset_name: distrib.zip | |
tag: ${{ github.ref }} | |
overwrite: true |