File tree Expand file tree Collapse file tree 5 files changed +16
-13
lines changed Expand file tree Collapse file tree 5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 1010 steps :
1111 - uses : actions/checkout@v2
1212 - name : Set up JDK 11
13- uses : actions/setup-java@v1.4.3
13+ uses : actions/setup-java@v4
1414 with :
15- java-version : 11
15+ distribution : ' temurin'
16+ java-version : ' 11'
1617 - name : Build with Gradle
1718 env :
1819 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Original file line number Diff line number Diff line change 99 build :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v4
1313 - name : Set up JDK 11
14- uses : actions/setup-java@v1.4.3
14+ uses : actions/setup-java@v4
1515 with :
16- java-version : 11
16+ distribution : ' temurin'
17+ java-version : ' 11'
1718 - name : Build with Gradle
1819 env :
1920 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
2021 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
2122 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
2223 ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.SIGNING_KEY_ID }}
2324 ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
24- run : ./gradlew build publish -Prelease=true
25+ run : ./gradlew build publish -Prelease=true
Original file line number Diff line number Diff line change 88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v4
1212 - uses : gradle/wrapper-validation-action@v1
1313 - name : Set up JDK 11
14- uses : actions/setup-java@v1.4.3
14+ uses : actions/setup-java@v4
1515 with :
16- java-version : 11
16+ distribution : ' temurin'
17+ java-version : ' 11'
1718 - name : Build with Gradle
18- run : ./gradlew build
19+ run : ./gradlew build
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ jobs:
1515 steps :
1616 - name : Test Default Branch
1717 id : default-branch
18- uses : actions/github-script@v6
18+ uses : actions/github-script@v7
1919 with :
2020 script : |
2121 const data = await github.rest.repos.get(context.repo)
2222 return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
2323 - name : Checkout Self
2424 if : ${{ steps.default-branch.outputs.result == 'true' }}
25- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
2626 - name : Run Repolinter
2727 if : ${{ steps.default-branch.outputs.result == 'true' }}
2828 uses : newrelic/repolinter-action@v1
Original file line number Diff line number Diff line change 1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Checkout Code
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020 with :
2121 ref : ' main'
2222
You can’t perform that action at this time.
0 commit comments