File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ name: Maven build with Java 17
66on :
77 # Triggers the workflow on push or pull request events but only for the master branch
88 push :
9- branches : [ master ]
9+ branches : [ v1.0-DEV ]
1010 pull_request :
11- branches : [ master ]
11+ branches : [ v1.0-DEV ]
1212
1313 # Allows you to run this workflow manually from the Actions tab
1414 workflow_dispatch :
Original file line number Diff line number Diff line change 1+ name : Maven build JDK 1.8
2+
3+ # Controls when the action will run.
4+ on :
5+ # Triggers the workflow on push or pull request events but only for the master branch
6+ push :
7+ branches : [ v0.8-java8 ]
8+ pull_request :
9+ branches : [ v0.8-java8 ]
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch :
13+
14+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs :
16+ # This workflow contains a single job called "build"
17+ build :
18+ # The type of runner that the job will run on
19+ runs-on : ubuntu-latest
20+
21+ # Steps represent a sequence of tasks that will be executed as part of the job
22+ steps :
23+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+ - uses : actions/checkout@v2
25+
26+ # Runs a single command using the runners shell
27+ - name : Set up JDK 8
28+ uses : actions/setup-java@v1
29+ with :
30+ java-version : 1.8
31+
32+ # Runs a set of commands using the runners shell
33+ - name : Clean, install, and test
34+ run : mvn clean install
You can’t perform that action at this time.
0 commit comments