From 33e1890e4baa2c69a34fe5cdf2693709e1636db3 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Tue, 5 Dec 2023 10:46:07 -0500 Subject: [PATCH] Updates for testing --- .github/workflows/.#pass-java-release.yml | 1 + .github/workflows/pass-java-release.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 120000 .github/workflows/.#pass-java-release.yml diff --git a/.github/workflows/.#pass-java-release.yml b/.github/workflows/.#pass-java-release.yml new file mode 120000 index 00000000..f1824987 --- /dev/null +++ b/.github/workflows/.#pass-java-release.yml @@ -0,0 +1 @@ +msp@fedora.1571200:1701089822 \ No newline at end of file diff --git a/.github/workflows/pass-java-release.yml b/.github/workflows/pass-java-release.yml index 86e45819..2147d741 100644 --- a/.github/workflows/pass-java-release.yml +++ b/.github/workflows/pass-java-release.yml @@ -77,13 +77,13 @@ jobs: - name: Release Java modules working-directory: combined run: | - goal="install" + goal="clean" if curl -f -s https://oss.sonatype.org/service/local/repositories/releases/content/org/eclipse/pass/eclipse-pass-parent/$RELEASE/ > /dev/null; then echo "Release $RELEASE already exists" goal="install" fi - mvn -B -U -V -ntp -P release -DstagingProgressTimeoutMinutes=10 clean install | tee release.log + mvn -B -U -V -ntp -P release -DstagingProgressTimeoutMinutes=10 clean $goal | tee release.log code=${PIPESTATUS[0]} marker1="Remote staging repositories are being released" @@ -112,9 +112,9 @@ jobs: echo "." counter=$((counter+1)) - if [ "$counter" -gt 20 ]; then + if [ "$counter" -gt 1 ]; then echo "Timed out waiting for release" - exit 1 + # exit 1 fi done echo "Artifacts for $RELEASE have been released." @@ -129,7 +129,7 @@ jobs: - name: Release dev Java modules working-directory: combined run: | - mvn -B -V -ntp clean install -DskipTests -DskipITs + mvn -B -V -ntp clean -DskipTests -DskipITs env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}