Skip to content

Commit

Permalink
Update workflow now that Ubuntu 18.04 runner no longer available.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcsmith-net committed May 24, 2023
1 parent f898350 commit 9253b6b
Showing 1 changed file with 6 additions and 49 deletions.
55 changes: 6 additions & 49 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,26 @@
# Derived from default workflow fo Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Test on Maven

on:
[push, pull_request]

jobs:

# test-baseline:
#
# runs-on: ubuntu-16.04
#
# steps:
# - name: Checkout
# uses: actions/checkout@v2
#
# - name: Set up JDK 1.8
# uses: actions/setup-java@v1
# with:
# java-version: 1.8
#
# - name: Install GStreamer
# run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good
#
# - name: Build with Maven
# run: mvn -B verify --file pom.xml

test-1-14:

runs-on: ubuntu-18.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install GStreamer
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good

- name: Build with Maven
run: mvn -B verify --file pom.xml

test-1-16:

runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install GStreamer
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

- name: Build with Maven
run: mvn -B verify --file pom.xml

Expand All @@ -74,15 +31,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install GStreamer
run: sudo apt-get update && sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

- name: Build with Maven
run: mvn -B verify --file pom.xml

0 comments on commit 9253b6b

Please sign in to comment.