File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This workflow will build a Java project with Maven
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
4- name : Java CI with Maven
5-
6- on :
7- push :
8- branches : [ master ]
9- pull_request :
10- branches : [ master ]
11-
121jobs :
132 build :
14- runs-on : ubuntu-latest
15- strategy :
16- matrix :
17- java : [8, 11, 17]
18- name : Java ${{ matrix.java }} building ...
3+ name : Java ${{ matrix.java }} building ...
4+ runs-on : self-hosted
195 steps :
20- - uses : actions/checkout@v3
21- - uses : actions/setup-java@v3
6+ - continue-on-error : true
7+ uses : actions/checkout@v3
8+ - continue-on-error : true
9+ uses : actions/setup-java@v3
2210 with :
23- distribution : ' zulu'
11+ cache : maven
12+ distribution : zulu
2413 java-version : ${{ matrix.java }}
25- cache : ' maven'
26- - name : Build with Maven
27- run : mvn -B package --file pom.xml
14+ - continue-on-error : true
15+ name : Build with Maven
16+ run : mvn -B package --file pom.xml
17+ strategy :
18+ matrix :
19+ java :
20+ - 8
21+ - 11
22+ - 17
23+ name : Java CI with Maven
24+ on :
25+ repository_dispatch :
26+ types : trigger-ga___maven.yml
Original file line number Diff line number Diff line change 1- name : Mark stale issues and pull requests
2-
3- on :
4- schedule :
5- - cron : " 30 1 * * *"
6-
71jobs :
82 stale :
9-
10- runs-on : ubuntu-latest
11-
3+ runs-on : self-hosted
124 steps :
13- - uses : actions/stale@v3
5+ - continue-on-error : true
6+ uses : actions/stale@v3
147 with :
158 repo-token : ${{ secrets.GITHUB_TOKEN }}
16- stale-issue-message : ' Stale issue message'
17- stale-pr-message : ' Stale pull request message'
18- stale-issue-label : ' no-issue-activity'
19- stale-pr-label : ' no-pr-activity'
9+ stale-issue-label : no-issue-activity
10+ stale-issue-message : Stale issue message
11+ stale-pr-label : no-pr-activity
12+ stale-pr-message : Stale pull request message
13+ name : Mark stale issues and pull requests
14+ on :
15+ repository_dispatch :
16+ types : trigger-ga___stale.yml
You can’t perform that action at this time.
0 commit comments