File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,22 @@ jobs:
17
17
- uses : actions/checkout@v4
18
18
- name : Change wrapper permissions
19
19
run : chmod +x ./gradlew
20
- - uses : actions/setup-java@v4
20
+ - name : Java
21
+ uses : actions/setup-java@v4
21
22
with :
22
23
distribution : ' temurin'
23
24
java-version : 21
24
25
# https://github.com/gradle/actions for documentation
25
26
- name : Validate Gradle Wrapper
26
27
uses : gradle/actions/wrapper-validation@v4
27
- - name : Build Project
28
+ - name : Build Project with Gradle
28
29
run : ./gradlew build
29
-
30
+ - name : Archive Artifacts to Action.
31
+ uses : actions/upload-artifact@v4
32
+ if : success()
33
+ with :
34
+ name : DCIFileReader
35
+ path : build/libs/DCIFileReader-*.jar
30
36
# https://cli.github.com/manual/gh_release_create
31
37
- name : Create release
32
38
run : gh release create draft build/libs/DCIFileReader-*.jar --draft --latest --notes "https://github.com/${{github.repository}}/commit/${{github.sha}} https://github.com/${{github.repository}}/commit/${{github.sha}}/checks/${{github.run_id}}"
You can’t perform that action at this time.
0 commit comments