File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ jobs:
1717
1818 # https://github.com/actions/checkout
1919 - name : Checkout codebase
20- uses : actions/checkout@v2
20+ uses : actions/checkout@v4
2121
2222 # https://github.com/actions/setup-java
2323 - name : Install JDK 17
24- uses : actions/setup-java@v2
24+ uses : actions/setup-java@v4
2525 with :
2626 java-version : 17
2727 distribution : adopt
2828
2929 # https://github.com/actions/cache
3030 - name : Cache Maven dependencies
31- uses : actions/cache@v2
31+ uses : actions/cache@v4
3232 with :
3333 # Cache entire ~/.m2/repository
3434 path : ~/.m2/repository
4444 # Sets up Java again, preparing the settings.xml to deploy to Sonatype (Maven)
4545 # ONLY on push to develop branch (using Sonatype snapshots repo)
4646 - name : Set up for deploy to Sonatype
47- uses : actions/setup-java@v2
47+ uses : actions/setup-java@v4
4848 if : github.ref == 'refs/heads/develop' && github.event_name == 'push'
4949 with :
5050 java-version : 17
5656 gpg-passphrase : CODESIGN_GPG_PASSPHRASE # env variable for GPG private key passphrase
5757 # ONLY on push to main branch (using Sonatype releases repo)
5858 - name : Set up for deploy to Sonatype
59- uses : actions/setup-java@v2
59+ uses : actions/setup-java@v4
6060 if : github.ref == 'refs/heads/main' && github.event_name == 'push'
6161 with :
6262 java-version : 17
You can’t perform that action at this time.
0 commit comments