File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ jobs:
3232 steps :
3333 - name : Check out code
3434 # https://github.com/actions/checkout
35- uses : actions/checkout@v2
35+ uses : actions/checkout@v6
3636 with :
3737 # Needed to get all tags. Refer https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci
3838 fetch-depth : ' 0'
3939 - name : Setup Java
40- uses : actions/setup-java@v1
40+ uses : actions/setup-java@v5
41+ with :
42+ distribution : temurin # Added for actions/setup-java v2+ compatibility
4143 with :
4244 java-version : 1.8
4345 - name : Build and test code, and test artifact publishing
@@ -72,12 +74,14 @@ jobs:
7274 steps :
7375 - name : Check out code
7476 # https://github.com/actions/checkout
75- uses : actions/checkout@v2
77+ uses : actions/checkout@v6
7678 with :
7779 # Needed to get all tags. Refer https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci
7880 fetch-depth : ' 0'
7981 - name : Setup Java
80- uses : actions/setup-java@v1
82+ uses : actions/setup-java@v5
83+ with :
84+ distribution : temurin # Added for actions/setup-java v2+ compatibility
8185 with :
8286 java-version : 1.8
8387 - name : Release
You can’t perform that action at this time.
0 commit comments