From 212588c85941a7eeb7884fdf6f9fb3fbdde26744 Mon Sep 17 00:00:00 2001 From: Hugo Bouttes <103732523+HugoBouttes@users.noreply.github.com> Date: Thu, 2 May 2024 10:23:00 +0200 Subject: [PATCH] Update build.yaml (#124) --- .github/workflows/build.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0ae0bc56..ee1e22aa 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -56,11 +56,11 @@ jobs: - name: Build API run: mvn package -Dchangelist=-SNAPSHOT --no-transfer-progress - - name: Upload API jar + - name: Upload API war uses: actions/upload-artifact@v4 with: - name: app-jar - path: target/*.jar + name: app-war + path: target/*.war docker: needs: @@ -70,10 +70,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Download uploaded jar + - name: Download uploaded war uses: actions/download-artifact@v4 with: - name: app-jar + name: app-war path: target/ - name: Publish to Docker Hub @@ -82,4 +82,4 @@ jobs: name: inseefr/metadata-api username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - tags: "latest, ${{ needs.check-version.outputs.release-version }}" \ No newline at end of file + tags: "latest, ${{ needs.check-version.outputs.release-version }}"