From 0dee9ec5ec07eda1c75b9bea8e622ead6d7f72bc Mon Sep 17 00:00:00 2001 From: Jakub Ciesla Date: Thu, 14 Nov 2024 10:35:13 +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 71f61c9e32e9..99e8fd99bfd0 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -73,12 +73,13 @@ jobs: -e KconfigBasicNoModules -e ClangFormat -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 feab06fd61f7..9fe7e44d4a42 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