File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 PACKAGE_READ : ${{ secrets.PACKAGE_READ }}
2929 working-directory : JavaCore
3030 run : mvn --batch-mode clean compile
31- - name : Checkout depender SLCore
32- uses : actions/checkout@v2
33- with :
34- repository : ' CoagulateSL/SLCore'
35- path : SLCore
36- token : ${{ secrets.PACKAGE_READ }}
37- submodules : true
38- - name : Git Submodule Update
39- run : |
40- cd SLCore
41- git pull --recurse-submodules
42- git submodule update --remote --recursive
43- - name : Commit update
44- working-directory : SLCore
45- run : |
46- git config --global user.name 'Git bot'
47- git config --global user.email 'bot@noreply.github.com'
48- git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/CoagulateSL/SLCore
49- git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"
50-
51-
5231
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ packages : read
14+
15+ steps :
16+ - name : Checkout JavaCore
17+ uses : actions/checkout@v2
18+ with :
19+ repository : ' CoagulateSL/JavaCore'
20+ path : JavaCore
21+ - name : Set up JDK 17
22+ uses : actions/setup-java@v2
23+ with :
24+ java-version : ' 17'
25+ distribution : ' adopt'
26+ - name : Build with Maven
27+ env :
28+ PACKAGE_READ : ${{ secrets.PACKAGE_READ }}
29+ working-directory : JavaCore
30+ run : mvn --batch-mode clean compile
31+ - name : Checkout depender SLCore
32+ uses : actions/checkout@v2
33+ with :
34+ repository : ' CoagulateSL/SLCore'
35+ path : SLCore
36+ token : ${{ secrets.PACKAGE_READ }}
37+ submodules : true
38+ - name : Git Submodule Update
39+ run : |
40+ cd SLCore
41+ git pull --recurse-submodules
42+ git submodule update --remote --recursive
43+ - name : Commit update
44+ working-directory : SLCore
45+ run : |
46+ git config --global user.name 'Git bot'
47+ git config --global user.email 'bot@noreply.github.com'
48+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/CoagulateSL/SLCore
49+ git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"
50+
51+
52+
You can’t perform that action at this time.
0 commit comments