mirror of
https://github.com/actions/setup-java
synced 2024-12-22 21:22:41 +00:00
Examples use v1 instead of master
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
parent
d5150a6a67
commit
c1c11bbc1b
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@master
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
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
|
- name: Publish to GitHub Packages Apache Maven
|
||||||
run: mvn deploy
|
run: mvn deploy
|
||||||
- name: Set up Apache Maven Central
|
- 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
|
with: # running setup-java again overwrites the settings.xml
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
server-id: maven
|
server-id: maven
|
||||||
|
|
Loading…
Reference in a new issue