From e12d853499f066bbb91974387ba7ca79f3897f19 Mon Sep 17 00:00:00 2001 From: P0nk Date: Sun, 16 Oct 2022 08:48:32 +0200 Subject: [PATCH] Update build workflow - new name and updated dependencies --- .github/workflows/bump-version.yml | 2 ++ .../workflows/{pr-pipeline.yml => run-build.yml} | 13 +++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) rename .github/workflows/{pr-pipeline.yml => run-build.yml} (57%) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 4cd2ae0292..f2f8a1d8c6 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -1,3 +1,5 @@ +# This workflow will tag the merge commit when merging a PR into the master branch. + name: Bump version on: pull_request: diff --git a/.github/workflows/pr-pipeline.yml b/.github/workflows/run-build.yml similarity index 57% rename from .github/workflows/pr-pipeline.yml rename to .github/workflows/run-build.yml index a44c2607ac..3d8a42ac71 100644 --- a/.github/workflows/pr-pipeline.yml +++ b/.github/workflows/run-build.yml @@ -1,21 +1,18 @@ # 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: PR-maven-package +name: Run build on: pull_request: - branches: [ master ] + branches: + - master jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '17' distribution: 'temurin'