Skip to content
This repository was archived by the owner on Oct 24, 2020. It is now read-only.

Commit 183557f

Browse files
authored
Merge pull request #1 from domaframework/use-github-actions
Add maven.yml
2 parents 0550594 + 94be29e commit 183557f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/maven.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Java CI with Maven
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 11
20+
- name: Grant execute permission for mvnw
21+
run: chmod +x mvnw
22+
- name: Build with Maven
23+
run: ./mvnw -B package --file pom.xml
24+
- name: Release Maven package
25+
uses: samuelmeuli/action-maven-publish@v1
26+
with:
27+
gpg_private_key: ${{ secrets.SIGNING_KEY }}
28+
gpg_passphrase: ${{ secrets.SIGNING_PASSWORD }}
29+
nexus_username: ${{ secrets.OSSRH_USERNAME }}
30+
nexus_password: ${{ secrets.OSSRH_PASSWORD }}
31+
if: "github.event_name != 'pull_request'"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Quarkus Extension for Doma
22
==========================
33

4+
[![Build Status](https://github.com/domaframework/doma-quarkus/workflows/Java%20CI%20with%20Maven/badge.svg)](https://github.com/domaframework/doma-quarkus/actions?query=workflow%3A%22Java+CI+with+Maven%22)
5+
46
## Introduction
57

68
Quarkus Extension for Doma provides the following features:

0 commit comments

Comments
 (0)