From 9291128514787a0aad7cfe7961a3303649f1407f Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Thu, 2 Jul 2020 08:28:02 +0200 Subject: [PATCH 1/2] Improved Maven Workflow Maven dependencies are now cached for faster build times. The cache is discarded once the pom.xml is updated. The JAR files generated during the build are made available as workflow artifacts. --- .github/workflows/maven.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index da5f736..e9f97db 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -4,14 +4,25 @@ on: [push] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v1 with: 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 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 From 9f13d9255b20f727b1352f3c6df26ec10edcac21 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Thu, 2 Jul 2020 08:53:11 +0200 Subject: [PATCH 2/2] Updated Templates --- .github/PULL_REQUEST_TEMPLATE/bugfix.md | 3 ++- .github/PULL_REQUEST_TEMPLATE/feature_integration.md | 5 +++-- .../{javadoc_upgrade.md => javadoc_update.md} | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) rename .github/PULL_REQUEST_TEMPLATE/{javadoc_upgrade.md => javadoc_update.md} (84%) diff --git a/.github/PULL_REQUEST_TEMPLATE/bugfix.md b/.github/PULL_REQUEST_TEMPLATE/bugfix.md index e189f31..2a918ad 100644 --- a/.github/PULL_REQUEST_TEMPLATE/bugfix.md +++ b/.github/PULL_REQUEST_TEMPLATE/bugfix.md @@ -5,6 +5,7 @@ labels: bug assignees: CyB3RC0nN0R, delvh, DieGurke reviewers: CyB3RC0nN0R, delvh projects: Envoy -milestone: Envoy v0.3-alpha +milestone: Envoy v0.1-beta + --- Fixes #{issue} diff --git a/.github/PULL_REQUEST_TEMPLATE/feature_integration.md b/.github/PULL_REQUEST_TEMPLATE/feature_integration.md index 945e7d3..7d5e167 100644 --- a/.github/PULL_REQUEST_TEMPLATE/feature_integration.md +++ b/.github/PULL_REQUEST_TEMPLATE/feature_integration.md @@ -1,9 +1,10 @@ --- name: Feature integration title: Added feature -labels: enhancement +labels: feature assignees: CyB3RC0nN0R, delvh, DieGurke reviewers: CyB3RC0nN0R, delvh projects: Envoy -milestone: Envoy v0.3-alpha +milestone: Envoy v0.1-beta + --- diff --git a/.github/PULL_REQUEST_TEMPLATE/javadoc_upgrade.md b/.github/PULL_REQUEST_TEMPLATE/javadoc_update.md similarity index 84% rename from .github/PULL_REQUEST_TEMPLATE/javadoc_upgrade.md rename to .github/PULL_REQUEST_TEMPLATE/javadoc_update.md index 7f1786d..68b0afd 100644 --- a/.github/PULL_REQUEST_TEMPLATE/javadoc_upgrade.md +++ b/.github/PULL_REQUEST_TEMPLATE/javadoc_update.md @@ -5,5 +5,6 @@ labels: documentation assignees: CyB3RC0nN0R, delvh reviewers: CyB3RC0nN0R, delvh projects: Envoy -milestone: Envoy v0.3-alpha +milestone: Envoy v0.1-beta + ---