mirror of
https://github.com/actions/setup-java.git
synced 2024-11-26 02:10:58 -05: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:
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue