1
0
Fork 0
mirror of https://github.com/actions/setup-java.git synced 2024-08-16 10:19:51 +02:00

Examples use v1 instead of master

Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
Bryan Clark 2019-12-04 23:22:47 -05:00 committed by GitHub
parent d5150a6a67
commit c1c11bbc1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@master
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
@ -77,7 +77,7 @@ jobs:
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy
- name: Set up Apache Maven Central
uses: actions/setup-java@master
uses: actions/setup-java@v1
with: # running setup-java again overwrites the settings.xml
java-version: 1.8
server-id: maven