Skip to content

Commit a32a63e

Browse files
committed
Update references in workflows
1 parent 0508e9b commit a32a63e

2 files changed

Lines changed: 36 additions & 2 deletions

File tree

.github/workflows/mvn-Java17.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: Maven build with Java 17
66
on:
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:

.github/workflows/mvn-java8.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

0 commit comments

Comments
 (0)