update workflows (#98)
[reguloj.git] / .github / actions / managed-maven / action.yml
blob1a346f4629f1640f1a9ffc6bf5973a1c401e8ec8
1 # SPDX-FileCopyrightText: The reguloj Authors
2 # SPDX-License-Identifier: 0BSD
4 name: Use a managed Java version with Maven credentials
5 description: DO NOT EDIT THIS FILE DIRECTLY
6 runs:
7   using: composite
8   steps:
9     - name: Set up Java
10       uses: actions/setup-java@v3
11       with:
12         java-version: 17
13         java-package: jdk
14         architecture: x64
15         distribution: temurin
16         cache: maven
17         server-id: ossrh
18         server-username: MAVEN_CENTRAL_USERNAME
19         server-password: MAVEN_CENTRAL_TOKEN