From af28f4accdedd35e7f55e859c8d403cc7ba64049 Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 13:40:37 +0100 Subject: [PATCH 1/6] WIP: Update checkout --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9420c68..c27709f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup JDK uses: actions/setup-java@v2 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ab86eba..8da3ef0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: name: Deploy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup JDK uses: actions/setup-java@v2 with: From e1aaa016fbe626caef3f5427049ebdfc4a0ac711 Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 14:54:28 +0100 Subject: [PATCH 2/6] WIP: Name Checkout Step --- .github/workflows/build.yml | 3 ++- .github/workflows/deploy.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c27709f..5ee7e5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,8 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup JDK uses: actions/setup-java@v2 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8da3ef0..6b9f3ec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,8 @@ jobs: name: Deploy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup JDK uses: actions/setup-java@v2 with: From 5bdc941fafec2d2ffa81652c2f7f1f101ed7878a Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 14:56:49 +0100 Subject: [PATCH 3/6] WIP: Update setup-java --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ee7e5c..62b4f2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 11 distribution: adopt diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6b9f3ec..ca52ef8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 11 distribution: adopt From 7de9ebc5fd47efad4a4f9a984fa780bee0ad1eb3 Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 15:51:14 +0100 Subject: [PATCH 4/6] WIP: Check whether -B is enough --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62b4f2e..5c93e92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,4 @@ jobs: java-version: 11 distribution: adopt - name: Build with Maven - run: mvn -B clean verify -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + run: mvn -B clean verify diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ca52ef8..ce410b7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: gpg-private-key: ${{ secrets.PGP_KEY }} gpg-passphrase: PGP_PASSPHRASE - name: Build and Deploy with Maven - run: mvn -B -P sign-artifacts deploy -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + run: mvn -B -P sign-artifacts clean deploy env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} From 0b05093e9a84a8694e5fb97356a8a7f8906ac4f7 Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 15:55:43 +0100 Subject: [PATCH 5/6] WIP: Try no-transfer-progres --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c93e92..54b1ca9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,4 @@ jobs: java-version: 11 distribution: adopt - name: Build with Maven - run: mvn -B clean verify + run: mvn -B clean verify --no-transfer-progres diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ce410b7..a6df963 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: gpg-private-key: ${{ secrets.PGP_KEY }} gpg-passphrase: PGP_PASSPHRASE - name: Build and Deploy with Maven - run: mvn -B -P sign-artifacts clean deploy + run: mvn -B -P sign-artifacts clean deploy --no-transfer-progres env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} From e3c8b603b83880b1f20936cf9cf98522b040f6f1 Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Tue, 14 Nov 2023 15:56:54 +0100 Subject: [PATCH 6/6] WIP: Fix syntax --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54b1ca9..d6a2677 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,4 @@ jobs: java-version: 11 distribution: adopt - name: Build with Maven - run: mvn -B clean verify --no-transfer-progres + run: mvn -B clean verify --no-transfer-progress diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a6df963..a9c9c35 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: gpg-private-key: ${{ secrets.PGP_KEY }} gpg-passphrase: PGP_PASSPHRASE - name: Build and Deploy with Maven - run: mvn -B -P sign-artifacts clean deploy --no-transfer-progres + run: mvn -B -P sign-artifacts clean deploy --no-transfer-progress env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}