From 581f6ba8fff1b27e4e15bc940ffaa2e2d38237a7 Mon Sep 17 00:00:00 2001 From: Jakub Ciesla Date: Thu, 14 Nov 2024 10:51:44 +0100 Subject: [PATCH] CI: Upgrade artifact actions v3 of actions/upload-artifact and actions/download-artifact becomes obsolete Signed-off-by: Jakub Ciesla --- .github/workflows/compliance.yml | 3 ++- .github/workflows/license-reusable.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index b14dcdae4c3b..4465d2a9e3fb 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -73,12 +73,13 @@ jobs: -e KconfigBasicNoModules -c origin/${BASE_REF}.. - name: upload-results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 continue-on-error: true if: contains(github.event.pull_request.user.login, 'dependabot[bot]') != true with: name: compliance.xml path: ncs/nrf/compliance.xml + overwrite: true - name: check-warns working-directory: ncs/nrf diff --git a/.github/workflows/license-reusable.yml b/.github/workflows/license-reusable.yml index 5b56dc2e4abe..71135b25ff66 100644 --- a/.github/workflows/license-reusable.yml +++ b/.github/workflows/license-reusable.yml @@ -104,9 +104,10 @@ jobs: -c origin/${BASE_REF}.. - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 continue-on-error: true if: always() && contains(github.event.pull_request.user.login, 'dependabot[bot]') != true with: name: licenses.xml path: ncs/${{ inputs.path }}/licenses.xml + overwrite: true