Skip to content

Commit

Permalink
Update github actions to not use deprecated external actions.
Browse files Browse the repository at this point in the history
Artifact and checkout actions v3 should no longer be used and gives a lot of warnings. Update to v4
  • Loading branch information
ToveRumar committed Aug 8, 2024
1 parent ec6a792 commit dd91289
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: build
run: docker run --rm -v ${PWD}:/module bitcraze/builder bash -c "make ${{ matrix.platform }}_defconfig && ./tools/build/build UNIT_TEST_STYLE=min"

- name: Upload Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.platform }}-${{ github.sha }}
path: |
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -130,7 +130,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Release URL on file
run: echo "${{ steps.create_release.outputs.upload_url }}" > release_url.txt
- name: Save Release URL File For Uploading Files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release_url
path: release_url.txt
Expand All @@ -51,15 +51,15 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Build
run: docker run --rm -v ${PWD}:/module bitcraze/builder bash -c "make ${{ matrix.platform }}_defconfig && ./tools/build/build PLATFORM=${{ matrix.platform }} UNIT_TEST_STYLE=min"

- name: Load Release URL File from release job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release_url

Expand Down

0 comments on commit dd91289

Please sign in to comment.