Skip to content

Commit

Permalink
ci: Update version of GH official actions to fix deprecation error.
Browse files Browse the repository at this point in the history
actions/upload-artifact@v3 stopped working on January 30th 2025:
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
  • Loading branch information
microbit-carlos authored and mathias-arm committed Feb 24, 2025
1 parent 82dc31d commit 6c682d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

- name: Cache Python modules
id: cache-python
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout source files
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -48,7 +48,7 @@ jobs:
- name: Cache CCache
id: ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .ccache
key: ${{ runner.os }}-gcc-${{ matrix.gcc }}-${{ hashFiles('log.txt') }}
Expand All @@ -70,7 +70,7 @@ jobs:
(ls -lR firmware_*; ccache -s; arm-none-eabi-gcc -v) | tee log.txt
- name: Upload test artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firmware-dev-${{github.run_number}}
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

- name: Cache Python modules
id: cache-python
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout source files
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -46,7 +46,7 @@ jobs:
- name: Cache CCache
id: ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .ccache
key: ${{ runner.os }}-gcc-${{ matrix.gcc }}-${{ hashFiles('log.txt') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
release: ${{ matrix.gcc }}

- name: Cache Python modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout source files
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
shell: cmd

- name: Upload test artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: firmware-dev-${{github.run_number}}
path: |
Expand Down

0 comments on commit 6c682d8

Please sign in to comment.