#87 - Initial scripts and tweaks for build and release via GitHub Actions.

This commit is contained in:
Oliver Drotbohm
2022-09-12 17:45:59 +02:00
parent 63a641de90
commit a656089bb4
10 changed files with 149 additions and 180 deletions

34
.github/workflows/milestone.yaml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Release Milestones
on:
push:
branches: [ release/milestone ]
jobs:
build:
name: Release project
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build with Maven
run: ./mvnw -B
- name: Deploy to Artifactory
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
run: ./mvnw -B clean deploy -Pci,artifactory
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1