Skip to content
Draft
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
35 changes: 0 additions & 35 deletions .github/workflows/build.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI

on:
push:
branches: [main]
tags: ['*']
pull_request:
branches: [main]

jobs:
test:
name: Test
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'

- name: Run tests
run: mvn clean verify

deploy:
name: Deploy
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.repository_owner == 'alfasoftware'
steps:
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'

- name: Import GPG keys
run: |
echo "$GPG_SECRET_KEYS" | base64 --decode | gpg --batch --import
echo "$GPG_OWNERTRUST" | base64 --decode | gpg --batch --import-ownertrust
env:
GPG_SECRET_KEYS: ${{ secrets.GPG_SECRET_KEYS }}
GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}

- name: Deploy to Maven Central
run: mvn clean deploy --settings .maven-settings.xml -B -U -Prelease
24 changes: 0 additions & 24 deletions .github/workflows/deploy.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/pr-build.yml

This file was deleted.

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

This file was deleted.

Loading