From 74dfd3f6bc7846532374f0b02cdfde407e25bcf8 Mon Sep 17 00:00:00 2001 From: Kenneth Lausdahl Date: Thu, 17 Aug 2023 12:04:28 +0200 Subject: [PATCH] remove deployment for all builds as artifactory is broken (cherry picked from commit ea12c23f9a13c8d28af1127495af4a47d3cbfb99) # Conflicts: # .github/workflows/maven.yml --- .github/workflows/maven.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f39da68c..3192cc38 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -170,17 +170,17 @@ jobs: maven-version: ${{ ENV.MAVEN_VERSION }} - - name: Maven Deploy feature SNAPSHOT + - name: Maven Package feature SNAPSHOT if: github.event_name == 'push' && (github.ref != 'refs/heads/development' && github.ref != 'refs/heads/master' ) - run: mvn -P au -B deploy -Dsha1=-`git rev-parse --abbrev-ref HEAD | sed "s|/|-|g"` -fae -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} + run: mvn -P au -B package -Dsha1=-`git rev-parse --abbrev-ref HEAD | sed "s|/|-|g;s|#||g;s|<||g;s|>||g;s|:||g;s|\"||g;s|/||g;s|\|||g;s|?||g;s|*||g;s|;||g"` -fae -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} env: MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - - name: Maven Deploy SNAPSHOT + - name: Maven Package SNAPSHOT if: github.event_name == 'push' && (github.ref == 'refs/heads/development' ) - run: mvn -P au -B deploy -Dsha1= -fae -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} + run: mvn -P au -B package -Dsha1= -fae -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} env: MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}