Skip to content

Commit

Permalink
Updating github action
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Dec 9, 2023
1 parent 96c2831 commit dd874f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest ]
java-version: [ 8 ]
distro: [ 'zulu', 'temurin' ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3.1.0
- name: Set up JDK 1.8
uses: actions/setup-java@v3.5.1
- uses: actions/checkout@v4.1.1
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
distribution: ${{ matrix.distro }}
java-version: ${{ matrix.java-version }}
- name: Build with Maven
run: mvn package --file pom.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/package-url/packageurl-java.svg?branch=master)](https://travis-ci.com/package-url/packageurl-java)
[![Build Status](https://github.com/package-url/packageurl-java/workflows/Maven%20CI/badge.svg)](https://github.com/package-url/packageurl-java/actions?workflow=Maven+CI)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.package-url/packageurl-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.package-url/packageurl-java)
[![License][license-image]][license-url]

Expand Down

0 comments on commit dd874f6

Please sign in to comment.