File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 5151 with :
5252 access_token : ${{ github.token }}
5353 - name : ' Check out repository'
54- uses : actions/checkout@v2
54+ uses : actions/checkout@v4
5555 - name : ' Set up JDK ${{ matrix.java }} from jdk.java.net'
5656 if : ${{ matrix.java == 'EA' }}
5757 uses : oracle-actions/setup-java@v1
6161 cache : ' maven'
6262 - name : ' Set up JDK ${{ matrix.java }}'
6363 if : ${{ matrix.java != 'EA' }}
64- uses : actions/setup-java@v2
64+ uses : actions/setup-java@v4
6565 with :
6666 java-version : ${{ matrix.java }}
6767 distribution : ' zulu'
8080 runs-on : ubuntu-latest
8181 steps :
8282 - name : ' Check out repository'
83- uses : actions/checkout@v2
83+ uses : actions/checkout@v4
8484 - name : ' Set up JDK 17'
85- uses : actions/setup-java@v2
85+ uses : actions/setup-java@v4
8686 with :
8787 java-version : 17
8888 distribution : ' zulu'
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
1212 runs-on : ubuntu-latest
1313 permissions :
1414 contents : write
15- steps :
15+ steps :
1616 - name : Checkout
17- uses : actions/checkout@v2.4.0
17+ uses : actions/checkout@v4
1818
1919 - name : Set up JDK
20- uses : actions/setup-java@v2.5.0
20+ uses : actions/setup-java@v4
2121 with :
2222 java-version : 21
2323 distribution : ' zulu'
2727 server-password : CI_DEPLOY_PASSWORD
2828 gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
2929 gpg-passphrase : MAVEN_GPG_PASSPHRASE
30-
30+
3131 - name : Bump Version Number
3232 run : |
3333 mvn --no-transfer-progress versions:set versions:commit -DnewVersion="${{ github.event.inputs.version }}"
4040 git tag "v${{ github.event.inputs.version }}"
4141 echo "TARGET_COMMITISH=$(git rev-parse HEAD)" >> $GITHUB_ENV
4242 git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/google/google-java-format.git
43-
43+
4444 - name : Deploy to Sonatype staging
4545 env :
4646 CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
@@ -56,12 +56,12 @@ jobs:
5656 - name : Push tag
5757 run : |
5858 git push origin "v${{ github.event.inputs.version }}"
59-
59+
6060 - name : Add Jars to Release Entry
61616262 with :
6363 draft : true
64- name : ${{ github.event.input.version }}
64+ name : ${{ github.event.input.version }}
6565 tag_name : " v${{ github.event.inputs.version }}"
6666 target_commitish : ${{ env.TARGET_COMMITISH }}
6767 files : |
You can’t perform that action at this time.
0 commit comments