Skip to content

Commit 9253b6b

Browse files
Update workflow now that Ubuntu 18.04 runner no longer available.
1 parent f898350 commit 9253b6b

File tree

1 file changed

+6
-49
lines changed

1 file changed

+6
-49
lines changed

.github/workflows/maven.yml

+6-49
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,26 @@
1-
# Derived from default workflow fo 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-
41
name: Test on Maven
52

63
on:
74
[push, pull_request]
85

96
jobs:
10-
11-
# test-baseline:
12-
#
13-
# runs-on: ubuntu-16.04
14-
#
15-
# steps:
16-
# - name: Checkout
17-
# uses: actions/checkout@v2
18-
#
19-
# - name: Set up JDK 1.8
20-
# uses: actions/setup-java@v1
21-
# with:
22-
# java-version: 1.8
23-
#
24-
# - name: Install GStreamer
25-
# run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good
26-
#
27-
# - name: Build with Maven
28-
# run: mvn -B verify --file pom.xml
29-
30-
test-1-14:
31-
32-
runs-on: ubuntu-18.04
33-
34-
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v3
37-
38-
- name: Set up JDK 1.8
39-
uses: actions/setup-java@v3
40-
with:
41-
java-version: '8'
42-
distribution: 'temurin'
43-
44-
- name: Install GStreamer
45-
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good
46-
47-
- name: Build with Maven
48-
run: mvn -B verify --file pom.xml
49-
507
test-1-16:
518

529
runs-on: ubuntu-20.04
5310

5411
steps:
5512
- name: Checkout
5613
uses: actions/checkout@v3
57-
14+
5815
- name: Set up JDK 1.8
5916
uses: actions/setup-java@v3
6017
with:
6118
java-version: '8'
6219
distribution: 'temurin'
63-
20+
6421
- name: Install GStreamer
6522
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
66-
23+
6724
- name: Build with Maven
6825
run: mvn -B verify --file pom.xml
6926

@@ -74,15 +31,15 @@ jobs:
7431
steps:
7532
- name: Checkout
7633
uses: actions/checkout@v3
77-
34+
7835
- name: Set up JDK 1.8
7936
uses: actions/setup-java@v3
8037
with:
8138
java-version: '8'
8239
distribution: 'temurin'
83-
40+
8441
- name: Install GStreamer
8542
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
86-
43+
8744
- name: Build with Maven
8845
run: mvn -B verify --file pom.xml

0 commit comments

Comments
 (0)