Merge pull request #171 from informatik-ag-ngl/f/improved_maven_workflow
Improved Maven Workflow, Updates Templates
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/PULL_REQUEST_TEMPLATE/bugfix.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/PULL_REQUEST_TEMPLATE/bugfix.md
									
									
									
									
										vendored
									
									
								
							@@ -5,6 +5,7 @@ labels: bug
 | 
				
			|||||||
assignees: CyB3RC0nN0R, delvh, DieGurke
 | 
					assignees: CyB3RC0nN0R, delvh, DieGurke
 | 
				
			||||||
reviewers: CyB3RC0nN0R, delvh
 | 
					reviewers: CyB3RC0nN0R, delvh
 | 
				
			||||||
projects: Envoy
 | 
					projects: Envoy
 | 
				
			||||||
milestone: Envoy v0.3-alpha
 | 
					milestone: Envoy v0.1-beta
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
Fixes #{issue}
 | 
					Fixes #{issue}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,10 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
name: Feature integration
 | 
					name: Feature integration
 | 
				
			||||||
title: Added feature
 | 
					title: Added feature
 | 
				
			||||||
labels: enhancement
 | 
					labels: feature
 | 
				
			||||||
assignees: CyB3RC0nN0R, delvh, DieGurke
 | 
					assignees: CyB3RC0nN0R, delvh, DieGurke
 | 
				
			||||||
reviewers: CyB3RC0nN0R, delvh
 | 
					reviewers: CyB3RC0nN0R, delvh
 | 
				
			||||||
projects: Envoy
 | 
					projects: Envoy
 | 
				
			||||||
milestone: Envoy v0.3-alpha
 | 
					milestone: Envoy v0.1-beta
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,5 +5,6 @@ labels: documentation
 | 
				
			|||||||
assignees: CyB3RC0nN0R, delvh
 | 
					assignees: CyB3RC0nN0R, delvh
 | 
				
			||||||
reviewers: CyB3RC0nN0R, delvh
 | 
					reviewers: CyB3RC0nN0R, delvh
 | 
				
			||||||
projects: Envoy
 | 
					projects: Envoy
 | 
				
			||||||
milestone: Envoy v0.3-alpha
 | 
					milestone: Envoy v0.1-beta
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
							
								
								
									
										15
									
								
								.github/workflows/maven.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/maven.yml
									
									
									
									
										vendored
									
									
								
							@@ -4,14 +4,25 @@ on: [push]
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
 | 
					 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v1
 | 
					    - uses: actions/checkout@v2
 | 
				
			||||||
    - name: Set up JDK 11
 | 
					    - name: Set up JDK 11
 | 
				
			||||||
      uses: actions/setup-java@v1
 | 
					      uses: actions/setup-java@v1
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        java-version: 11
 | 
					        java-version: 11
 | 
				
			||||||
 | 
					    - name: Cache Maven packages
 | 
				
			||||||
 | 
					      uses: actions/cache@v2
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        path: ~/.m2
 | 
				
			||||||
 | 
					        key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
 | 
				
			||||||
 | 
					        restore-keys: ${{ runner.os }}-m2
 | 
				
			||||||
    - name: Build with Maven
 | 
					    - name: Build with Maven
 | 
				
			||||||
      run: mvn -B package --file pom.xml
 | 
					      run: mvn -B package --file pom.xml
 | 
				
			||||||
 | 
					    - name: Stage build artifacts
 | 
				
			||||||
 | 
					      run: mkdir staging && cp target/*.jar staging
 | 
				
			||||||
 | 
					    - uses: actions/upload-artifact@v1
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        name: envoy-client-artifacts
 | 
				
			||||||
 | 
					        path: staging
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user