File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Nuclear Test Release
2+
3+ on :
4+ push :
5+ branches :
6+ - nuclear-fission
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ permissions :
12+ contents : write # needed to create GitHub releases
13+
14+ steps :
15+ - name : Checkout Repository
16+ uses : actions/checkout@v3
17+
18+ - name : Declare some variables
19+ id : vars
20+ shell : bash
21+ run : |
22+ echo "::set-output name=sha_short::$(git rev-parse --short $GITHUB_SHA)"
23+
24+ - name : Setup Java
25+ uses : actions/setup-java@v3
26+ with :
27+ distribution : ' zulu'
28+ java-version : ' 17'
29+
30+ - name : Build Project
31+ uses : gradle/gradle-build-action@v2
32+ with :
33+ arguments : ' build --build-cache --daemon' # use the daemon here so the rest of the process is faster
34+ generate-job-summary : false
35+ gradle-home-cache-includes : |
36+ caches
37+ jdks
38+ notifications
39+ wrapper
40+
41+ - name : Publish to GitHub
42+ uses : softprops/action-gh-release@v1
43+ with :
44+ files : " build/libs/*.jar"
45+ fail_on_unmatched_files : true
46+ prerelease : true
47+ tag_name : " nuclear-testing"
48+ name : ' Nuclear Testing ' + ${{ steps.vars.outputs.sha_short }}
49+ body : " Testing Pre-release for GTCEu Nuclear Update"
You can’t perform that action at this time.
0 commit comments