From c846642e9afb47be987f4530ed494666d714c042 Mon Sep 17 00:00:00 2001 From: Timo Sairiala Date: Thu, 4 Apr 2024 16:28:22 +0300 Subject: [PATCH] update workflow actions Also remove additional tar compression --- .github/workflows/CodeQL.yml | 2 +- .github/workflows/build.yml | 13 +++++-------- .github/workflows/doc.yml | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CodeQL.yml b/.github/workflows/CodeQL.yml index 4256e8d320425..c5f39ae00cafb 100644 --- a/.github/workflows/CodeQL.yml +++ b/.github/workflows/CodeQL.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v4 - name: Download Source Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: source-bundle path: . diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68a79db24a233..095a55dea44c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: echo "app_ref=$APPS_REF" >> $GITHUB_OUTPUT - name: Checkout nuttx repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: tiiuae/nuttx ref: ${{ steps.gittargets.outputs.os_ref }} @@ -89,21 +89,18 @@ jobs: run: git -C sources/nuttx fetch --tags - name: Checkout apps repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: tiiuae/incubator-nuttx-apps ref: ${{ steps.gittargets.outputs.apps_ref }} path: sources/apps fetch-depth: 1 - - name: Tar sources - run: tar zcf sources.tar.gz sources - - name: Archive Source Bundle - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: source-bundle - path: sources.tar.gz + path: sources/ Build: runs-on: ubuntu-latest @@ -114,7 +111,7 @@ jobs: boards: [ssrc-arm, ssrc-riscv] steps: - name: Download Source Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: source-bundle path: . diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 314dd00519980..fe24e67006358 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -44,7 +44,7 @@ jobs: pip3 install pipenv pipenv install pipenv run make html latexpdf - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: sphinx-docs path: |