Skip to content

Commit 127d3ba

Browse files
committed
Added Github workflow
1 parent 9240ab9 commit 127d3ba

2 files changed

Lines changed: 26 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ master ]
1111

1212
jobs:
13-
build:
13+
build-test:
1414
runs-on: ubuntu-latest
1515

1616
steps:
@@ -21,3 +21,28 @@ jobs:
2121
java-version: 1.8
2222
- name: Build with Maven
2323
run: mvn -B package --file pom.xml
24+
25+
- name: Run UI tests
26+
run: make test
27+
28+
continuous-delivery:
29+
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
30+
needs: build-test
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Check out Git repository
35+
uses: actions/checkout@v2
36+
37+
- name: Install Java and Maven
38+
uses: actions/setup-java@v1
39+
with:
40+
java-version: 1.8
41+
42+
- name: Release Maven package
43+
uses: samuelmeuli/action-maven-publish@v1
44+
with:
45+
gpg_private_key: ${{ secrets.gpg_private_key }}
46+
gpg_passphrase: ${{ secrets.gpg_passphrase }}
47+
nexus_username: ${{ secrets.nexus_username }}
48+
nexus_password: ${{ secrets.nexus_password }}

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)