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 51
51
with :
52
52
access_token : ${{ github.token }}
53
53
- name : ' Check out repository'
54
- uses : actions/checkout@v2
54
+ uses : actions/checkout@v4
55
55
- name : ' Set up JDK ${{ matrix.java }} from jdk.java.net'
56
56
if : ${{ matrix.java == 'EA' }}
57
57
uses : oracle-actions/setup-java@v1
61
61
cache : ' maven'
62
62
- name : ' Set up JDK ${{ matrix.java }}'
63
63
if : ${{ matrix.java != 'EA' }}
64
- uses : actions/setup-java@v2
64
+ uses : actions/setup-java@v4
65
65
with :
66
66
java-version : ${{ matrix.java }}
67
67
distribution : ' zulu'
80
80
runs-on : ubuntu-latest
81
81
steps :
82
82
- name : ' Check out repository'
83
- uses : actions/checkout@v2
83
+ uses : actions/checkout@v4
84
84
- name : ' Set up JDK 17'
85
- uses : actions/setup-java@v2
85
+ uses : actions/setup-java@v4
86
86
with :
87
87
java-version : 17
88
88
distribution : ' zulu'
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
permissions :
14
14
contents : write
15
- steps :
15
+ steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v2.4.0
17
+ uses : actions/checkout@v4
18
18
19
19
- name : Set up JDK
20
- uses : actions/setup-java@v2.5.0
20
+ uses : actions/setup-java@v4
21
21
with :
22
22
java-version : 21
23
23
distribution : ' zulu'
27
27
server-password : CI_DEPLOY_PASSWORD
28
28
gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
29
29
gpg-passphrase : MAVEN_GPG_PASSPHRASE
30
-
30
+
31
31
- name : Bump Version Number
32
32
run : |
33
33
mvn --no-transfer-progress versions:set versions:commit -DnewVersion="${{ github.event.inputs.version }}"
40
40
git tag "v${{ github.event.inputs.version }}"
41
41
echo "TARGET_COMMITISH=$(git rev-parse HEAD)" >> $GITHUB_ENV
42
42
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/google/google-java-format.git
43
-
43
+
44
44
- name : Deploy to Sonatype staging
45
45
env :
46
46
CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
@@ -56,12 +56,12 @@ jobs:
56
56
- name : Push tag
57
57
run : |
58
58
git push origin "v${{ github.event.inputs.version }}"
59
-
59
+
60
60
- name : Add Jars to Release Entry
61
61
62
62
with :
63
63
draft : true
64
- name : ${{ github.event.input.version }}
64
+ name : ${{ github.event.input.version }}
65
65
tag_name : " v${{ github.event.inputs.version }}"
66
66
target_commitish : ${{ env.TARGET_COMMITISH }}
67
67
files : |
You can’t perform that action at this time.
0 commit comments