From 0901eef1f893ff45d883728dbb695e718a920321 Mon Sep 17 00:00:00 2001 From: evanchooly Date: Thu, 22 Feb 2024 22:01:24 -0500 Subject: [PATCH] even simpler --- .github/upgrade-test-pom.xml | 74 ++++++++++++++++++++++++++++++++++++ .github/workflows/build.yml | 50 ++++++++++++------------ 2 files changed, 99 insertions(+), 25 deletions(-) create mode 100644 .github/upgrade-test-pom.xml diff --git a/.github/upgrade-test-pom.xml b/.github/upgrade-test-pom.xml new file mode 100644 index 00000000000..e1c6bfbaac0 --- /dev/null +++ b/.github/upgrade-test-pom.xml @@ -0,0 +1,74 @@ + + 4.0.0 + + com.foo + morphia-reproducer + 1.0.0-SNAPSHOT + + Morphia Reproducer project + https://github.com/MorphiaOrg/morphia + + + UTF-8 + + 2.4.10 + + + morphia-core + 2.0.12 + + + + + sonatype-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + true + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.12.1 + + 11 + 11 + -proc:none + + + + + + + dev.morphia.morphia + ${morphia.artifactId} + ${morphia.version} + + + org.slf4j + slf4j-api + ${slf4j.version} + + + ch.qos.logback + logback-classic + 1.5.0 + + + org.testng + testng + 7.8.0 + + + com.antwerkz.bottlerocket + bottlerocket + 0.43.0 + + + diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75aae103406..340307134ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,11 @@ jobs: # with: # java: 17 - Build: - uses: evanchooly/workflows/.github/workflows/build.yml@master - with: - java: 17 - saveBuild: true +# Build: +# uses: evanchooly/workflows/.github/workflows/build.yml@master +# with: +# java: 17 +# saveBuild: true # Matrix: # runs-on: ubuntu-latest @@ -126,8 +126,8 @@ jobs: name: Upgrades runs-on: ubuntu-latest continue-on-error: true - needs: - - Build +# needs: +# - Build strategy: fail-fast: false matrix: @@ -139,28 +139,28 @@ jobs: repository: MorphiaOrg/morphia ref: ${{ matrix.morphia-branch }} path: upgrade-test - - name: Restore cached build artifacts - uses: actions/cache@v3 - with: - path: | - **/target - ~/.m2/repository - key: cache-${{ github.run_number }} - restore-keys: target-cache-${{ github.run_number }} - fail-on-cache-miss: true - - name: Setup Java - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: 'zulu' - server-id: central - cache: maven +# - name: Restore cached build artifacts +# uses: actions/cache@v3 +# with: +# path: | +# **/target +# ~/.m2/repository +# key: cache-${{ github.run_number }} +# restore-keys: target-cache-${{ github.run_number }} +# fail-on-cache-miss: true +# - name: Setup Java +# uses: actions/setup-java@v3 +# with: +# java-version: 17 +# distribution: 'zulu' +# server-id: central +# cache: maven - name: Perform Upgrade and Test run: | pwd ls ~/ #morphia/.github - ls ../.github - mvn install -DskipTests + ls ../ +# mvn install -DskipTests for i in * do [ -e $i/src/main/java ] && rm -rf $i/src/main/java