File tree 3 files changed +3
-36
lines changed
3 files changed +3
-36
lines changed Original file line number Diff line number Diff line change 20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- name : Checkout repository
23
- uses : actions/checkout@v4
24
- with :
25
- fetch-depth : 1000
26
- fetch-tags : true
27
-
28
- # GradleUtils will append the branch name to the version,
29
- # but for that we need a properly checked out branch
30
- - name : Create branch for commit (PR)
31
- if : ${{ github.event_name == 'pull_request' }}
32
- run :
33
- git switch -C pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.ref }}
34
-
35
- - name : Create branch for commit
36
- if : ${{ github.event_name != 'pull_request' }}
37
- run :
38
- git switch -C ${{ github.ref_name }}
23
+ uses : neoforged/actions/checkout@main
39
24
40
25
- name : Setup JDK 21
41
26
uses : neoforged/actions/setup-java@main
Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout repository
16
- uses : actions/checkout@v4
17
- with :
18
- fetch-depth : 1000
19
- fetch-tags : true
20
-
21
- # GradleUtils will append the branch name to the version,
22
- # but for that we need a properly checked out branch
23
- - name : Create branch for commit
24
- run :
25
- git switch -C pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.ref }}
16
+ uses : neoforged/actions/checkout@main
26
17
27
18
- name : Setup JDK 21
28
19
uses : neoforged/actions/setup-java@main
Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- name : Checkout repository
20
- uses : actions/checkout@v4
21
- with :
22
- fetch-depth : 1000
23
- fetch-tags : true
24
-
25
- # GradleUtils will append the branch name to the version,
26
- # but for that we need a properly checked out branch
27
- - name : Create branch for commit
28
- run :
29
- git switch -C pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.ref }}
20
+ uses : neoforged/actions/checkout@main
30
21
31
22
- name : Setup JDK 21
32
23
uses : neoforged/actions/setup-java@main
You can’t perform that action at this time.
0 commit comments