File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Build JAR
2
2
3
3
on :
4
- workflow_dispatch :
4
+ workflow_dispatch : # Allows manual triggering
5
5
push :
6
6
branches :
7
- - ' build-test'
7
+ - ' build-test' # Replace with your desired branch name
8
8
9
9
jobs :
10
10
build_jar :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Checkout code
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v3
15
15
16
16
- name : Set up JDK
17
- uses : actions/setup-java@v2
17
+ uses : actions/setup-java@v3
18
18
with :
19
19
java-version : ' 17'
20
20
distribution : ' adopt'
25
25
./gradlew build
26
26
27
27
- name : Upload JAR as artifact
28
- uses : actions/upload-artifact@v2
28
+ uses : actions/upload-artifact@v3
29
29
with :
30
30
name : middleware-javaagent
31
- path : examples/extension/build/libs/middleware-javaagent.jar
31
+ path : examples/extension/build/libs/middleware-javaagent.jar
You can’t perform that action at this time.
0 commit comments