Skip to content

Commit

Permalink
update workflow actions
Browse files Browse the repository at this point in the history
Also remove additional tar compression
  • Loading branch information
TimoSairiala committed Apr 4, 2024
1 parent e8692d2 commit c846642
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CodeQL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit c846642

Please sign in to comment.