Skip to content

Commit

Permalink
deploy with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
polettif committed Nov 25, 2020
1 parent ecea1ce commit 716c252
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 23 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# https://blog.frankel.ch/github-actions-maven-releases/
# https://github.com/actions/setup-java

name: Maven Deploy

on:
release:
type: [ created ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: bintray-polettif-matsim
server-username: BINTRAY_USERNAME
server-password: BINTRAY_PASSWORD
- name: Deploy with Maven
run: mvn deploy -DskipTests=true
env:
BINTRAY_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
BINTRAY_PASSWORD: ${{ secrets.BINTRAY_PASSWORD }}

Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven
name: Maven Test

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

Expand Down
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

13 changes: 0 additions & 13 deletions settings.xml

This file was deleted.

0 comments on commit 716c252

Please sign in to comment.