File tree 2 files changed +12
-14
lines changed 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 14
14
if : " github.event.release.prerelease"
15
15
runs-on : ubuntu-latest
16
16
steps :
17
+ # Check out current repository
18
+ - name : Fetch Sources
19
+ uses : actions/checkout@v3
20
+ with :
21
+ token : ${{ secrets.RELEASE_ACTION_TOKEN }}
22
+ ref : ${{ github.head_ref }}
17
23
18
24
# Setup Java 11 environment for the next steps
19
25
- name : Setup Java
23
29
distribution : ' adopt'
24
30
cache : gradle
25
31
26
- # Check out current repository
27
- - name : Fetch Sources
28
- uses : actions/checkout@v3
29
- with :
30
- token : ${{ secrets.RELEASE_ACTION_TOKEN }}
31
- ref : ${{ github.head_ref }}
32
-
33
32
# Create beta version
34
33
- name : Create beta version
35
34
run : gradle createBetaVersion
Original file line number Diff line number Diff line change 14
14
if : " !github.event.release.prerelease"
15
15
runs-on : ubuntu-latest
16
16
steps :
17
+ # Check out current repository
18
+ - name : Fetch Sources
19
+ uses : actions/checkout@v3
20
+ with :
21
+ token : ${{ secrets.RELEASE_ACTION_TOKEN }}
22
+ ref : ${{ github.head_ref }}
17
23
18
24
# Setup Java 11 environment for the next steps
19
25
- name : Setup Java
23
29
distribution : ' adopt'
24
30
cache : gradle
25
31
26
- # Check out current repository
27
- - name : Fetch Sources
28
- uses : actions/checkout@v3
29
- with :
30
- token : ${{ secrets.RELEASE_ACTION_TOKEN }}
31
- ref : ${{ github.head_ref }}
32
-
33
32
# Create release version
34
33
- name : Create release version
35
34
run : gradle createReleaseVersion
You can’t perform that action at this time.
0 commit comments