setup-java/README.md

791 B

setup-java

GitHub action to setup and configure java.
The aim is to abstract public setup-java action to allow homemade customization, for example adding root ca certificate to the java truststore

Usage example

name: Release

on:
  push:
    branches:
      - main

jobs:
  build:
    if: "contains(github.event.head_commit.message, vars.SKIP_CI_PREFIX) != true"

    runs-on: runner
    steps:
      - uses: RouxAntoine/checkout@v3.5.4

      - uses: antoine-roux.tk/projects/actions/setup-java@v1.0.0

      - uses: RouxAntoine/auto-changie@v1.0.1

      - name: Push changelog
        uses: stefanzweifel/git-auto-commit-action@v5
        with:
          commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"