File tree 5 files changed +25
-2
lines changed
5 files changed +25
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Clones the repository which then begins with validating the Gradle Wrapper checksum,
2
+ # If the checksum completes, the script then sets up the JDK we need and begins compiling the software,
3
+ # Finally, If the compiled files have been pushed out to the "(something)/build/libs/" directory - It gets uploaded to GitHub.
4
+
1
5
name : Build Figura using Gradle
2
6
on : [pull_request, push]
7
+
3
8
jobs :
4
9
build :
5
10
if : github.actor != 'weblate'
6
11
runs-on : ubuntu-22.04
7
12
steps :
8
13
- name : Checkout Repository
9
14
uses : actions/checkout@v4
15
+
10
16
- name : Validate Gradle wrapper
11
17
uses : gradle/wrapper-validation-action@v1
18
+
12
19
- name : Set up JDK 17
13
20
uses : actions/setup-java@v3
14
21
with :
15
22
distribution : ' temurin'
16
23
java-version : 17
17
24
check-latest : true
25
+
18
26
- name : Build using Gradle
19
27
run : ./gradlew build
28
+
20
29
- name : Merge Fabric and Forge JARs
21
30
run : ./gradlew mergeJars
31
+
22
32
- name : Upload Fabric artifacts to GitHub
23
33
uses : actions/upload-artifact@v3
24
34
with :
25
35
name : Fabric-Artifacts
26
36
path : fabric/build/libs/
37
+
27
38
- name : Upload Forge artifacts to GitHub
28
39
uses : actions/upload-artifact@v3
29
40
with :
30
41
name : Forge-Artifacts
31
42
path : forge/build/libs/
43
+
32
44
- name : Upload Merged JAR to GitHub
33
45
uses : actions/upload-artifact@v3
34
46
with :
Original file line number Diff line number Diff line change
1
+ # Clones the repository which then begins with searching for modified commits,
2
+ # If found, The workflow in assets repository is then called.
3
+
1
4
name : Update Base Strings
2
5
3
6
env :
14
17
update-base :
15
18
runs-on : ubuntu-22.04
16
19
steps :
17
- - name : Checkout
20
+ - name : Checkout Repository
18
21
uses : actions/checkout@v4
19
22
with :
20
23
fetch-depth : ${{ github.event.commits.size }}
26
29
- name : Trigger Workflow in Assets Repository
27
30
uses : benc-uk/workflow-dispatch@v1
28
31
with :
29
- workflow : update-base.yaml
32
+ workflow : update-base.yml
30
33
ref : main
31
34
inputs : |
32
35
{
Original file line number Diff line number Diff line change
1
+ # Sets up the GitPod shell using the Java 17 workspace which then
2
+ # also sets SDKMAN for GitPod as finalization.
3
+
1
4
FROM gitpod/workspace-java-17
2
5
USER gitpod
3
6
Original file line number Diff line number Diff line change
1
+ # Sets up the VScode extensions required for our GitPod script,
2
+ # which includes notifying user if port "25565" should be opened.
3
+
1
4
image :
2
5
file : .gitpod.Dockerfile
3
6
Original file line number Diff line number Diff line change
1
+ # Deploys the latest stable JDK available and sets it to default without having to manually specify it here,
2
+ # Which includes using temurin as the distribution.
1
3
before_install :
2
4
- curl -s "https://get.sdkman.io" | bash
3
5
- source ~/.sdkman/bin/sdkman-init.sh
You can’t perform that action at this time.
0 commit comments