From 3b1511c50831b1a7925b83aabb7ac7f78a6c62c1 Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Wed, 27 Dec 2023 20:21:25 +0100 Subject: [PATCH] fix --- .github/workflows/validation.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 91eff419..dc55a661 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -288,16 +288,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/download-artifact@v3 - if: ${{ github.run_attempt == 1 }} - with: - name: saved-workspace - - name: Restore Workspace - if: ${{ github.run_attempt == 1 }} - run: | - set -x - tar xf workspace.tar - tar cf - .m2 | (cd ~ && tar xf -) - name: Set up Java uses: actions/setup-java@v3 with: @@ -308,6 +298,16 @@ jobs: server-password: REPSY_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE + - uses: actions/download-artifact@v3 + if: ${{ github.run_attempt == 1 }} + with: + name: saved-workspace + - name: Restore Workspace + if: ${{ github.run_attempt == 1 }} + run: | + set -x + tar xf workspace.tar + tar cf - .m2 | (cd ~ && tar xf -) - name: Build if: ${{ github.run_attempt > 1 }} run: |