From 5a7efef136db38aefee3279ec149239ce5de2f13 Mon Sep 17 00:00:00 2001 From: Stefan Ranoszek Date: Tue, 17 Sep 2024 10:20:27 +0100 Subject: [PATCH 1/4] chore: mvn cach --- .github/workflows/maven.yaml | 42 +++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index 0bc7dc33d..eb13a7ce9 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -1,5 +1,4 @@ -name: Maven - +name: Maven on: workflow_call: inputs: @@ -8,20 +7,37 @@ on: required: true default: 'package' type: string - + permissions: contents: read packages: write jobs: - build: - name: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: whelk-io/maven-settings-xml-action@v22 - with: + build: + name: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + + - uses: whelk-io/maven-settings-xml-action@v22 + with: servers: '[{ "id":"dvsa-github-packages", "configuration": { "httpHeaders": { "property": { "name":"Authorization", "value":"Bearer ${{ secrets.GITHUB_TOKEN }}"} } } },{ "id":"github-publish", "configuration": { "httpHeaders": { "property": { "name":"Authorization", "value":"Bearer ${{ secrets.GITHUB_TOKEN }}"} } } } ]' - - - run: mvn -B -P github ${{ inputs.maven-goal}} - \ No newline at end of file + + - name: Build with Maven + run: mvn -B -P github ${{ inputs.maven-goal}} -Dmaven.repo.local=$HOME/.m2/repository \ No newline at end of file From 07de4bafc0bbac2749e807924f96dae1425c79a8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:52:11 +0000 Subject: [PATCH 2/4] chore(main): release 2.40.4 --- CHANGELOG.md | 7 +++++++ pom.xml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47effd760..f488759d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Revision History for the VOL Functional Tests +## [2.40.4](https://github.com/dvsa/vol-functional-tests/compare/v2.40.3...v2.40.4) (2024-09-16) + + +### Bug Fixes + +* type in parent workflow name ([caa564d](https://github.com/dvsa/vol-functional-tests/commit/caa564dfcc3b4e667a134ce4052db3c05f820192)) + ## [2.40.3](https://github.com/dvsa/vol-functional-tests/compare/v2.41.0...v2.40.3) (2024-09-13) diff --git a/pom.xml b/pom.xml index d1e721981..94a2fc416 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.dvsa.testing.framework vol-functional-tests - 2.40.4-SNAPSHOT + 2.40.4 From e9ca1e7a35aa7ef737e4d4b246e7beddd77165cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:27:23 +0000 Subject: [PATCH 3/4] chore(main): release 2.40.5-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 94a2fc416..254ea9d6a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.dvsa.testing.framework vol-functional-tests - 2.40.4 + 2.40.5-SNAPSHOT From e7a7d5f90ccf2d02097ad03f04092643961f0d74 Mon Sep 17 00:00:00 2001 From: Stefan Ranoszek Date: Tue, 17 Sep 2024 10:30:06 +0100 Subject: [PATCH 4/4] chore: bump to 2.40.5 Release-As: 2.40.5