Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build and Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
MAVEN_OPTS: >-
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true
MAVEN_CLI_OPTS: >-
--batch-mode
--errors
--fail-at-end
--show-version
--no-transfer-progress

jobs:
build:
runs-on: ubuntu-latest
container:
image: maven:3.9-eclipse-temurin-21

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Compile
run: mvn ${{ env.MAVEN_CLI_OPTS }} -DskipTests=true clean compile

- name: Run tests
run: mvn ${{ env.MAVEN_CLI_OPTS }} test

- name: Package
run: mvn ${{ env.MAVEN_CLI_OPTS }} package -DskipTests=true

- name: Upload JAR artifact
uses: actions/upload-artifact@v4
with:
name: dd-plist-jar
path: target/dd-plist.jar
retention-days: 14

- name: Upload binary distribution
uses: actions/upload-artifact@v4
with:
name: dd-plist-bin
path: target/dd-plist-bin.zip
retention-days: 14
if-no-files-found: ignore
8 changes: 8 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# com.dd.plist - A Java library for working with property lists

[![Build Status](https://app.travis-ci.com/3breadt/dd-plist.svg?branch=master)](https://app.travis-ci.com/3breadt/dd-plist)
![Build Status](https://github.com/3breadt/dd-plist/actions/workflows/build.yml/badge.svg)

This library enables your Java application to handle property lists of various formats. It is licensed under the terms of the MIT license.

Expand Down
Loading