From d5a1e39c436a89b2e03a3a50cfcd565042537848 Mon Sep 17 00:00:00 2001 From: Pierre Donat-Bouillud Date: Tue, 14 Jan 2025 15:18:24 -0500 Subject: [PATCH] Update artifact step of CI --- .github/workflows/devcontainer.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index 73bc4be7..bdc7adb3 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -39,7 +39,7 @@ jobs: artifact: runs-on: ubuntu-latest - + needs: build-devcontainer steps: - uses: actions/checkout@v3 - name: Build artifact @@ -52,15 +52,16 @@ jobs: - run: mkdir staging && cp target/*.jar staging working-directory: server - name: Upload snapshot as artifact - uses: actions/upload-artifact@v3 - working-directory: server + uses: actions/upload-artifact@v4 with: name: snapshot - path: target/*-SNAPSHOT.jar + path: server/target/*-SNAPSHOT.jar # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph - working-directory: server - uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 + uses: advanced-security/maven-dependency-submission-action@v4 + with: + directory: server + test: runs-on: ubuntu-latest needs: build-devcontainer