Skip to content

Commit 6c682d8

Browse files
microbit-carlosmathias-arm
authored andcommitted
ci: Update version of GH official actions to fix deprecation error.
actions/upload-artifact@v3 stopped working on January 30th 2025: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
1 parent 82dc31d commit 6c682d8

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222

2323
- name: Cache Python modules
2424
id: cache-python
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: ~/.cache/pip
2828
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
2929
restore-keys: |
3030
${{ runner.os }}-pip-
3131
3232
- name: Checkout source files
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
3636

@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Cache CCache
5050
id: ccache
51-
uses: actions/cache@v3
51+
uses: actions/cache@v4
5252
with:
5353
path: .ccache
5454
key: ${{ runner.os }}-gcc-${{ matrix.gcc }}-${{ hashFiles('log.txt') }}
@@ -70,7 +70,7 @@ jobs:
7070
(ls -lR firmware_*; ccache -s; arm-none-eabi-gcc -v) | tee log.txt
7171
7272
- name: Upload test artifacts
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
with:
7575
name: firmware-dev-${{github.run_number}}
7676
path: |

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222

2323
- name: Cache Python modules
2424
id: cache-python
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: ~/.cache/pip
2828
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
2929
restore-keys: |
3030
${{ runner.os }}-pip-
3131
3232
- name: Checkout source files
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3434
with:
3535
fetch-depth: 0
3636

@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Cache CCache
4848
id: ccache
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
with:
5151
path: .ccache
5252
key: ${{ runner.os }}-gcc-${{ matrix.gcc }}-${{ hashFiles('log.txt') }}

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
release: ${{ matrix.gcc }}
1717

1818
- name: Cache Python modules
19-
uses: actions/cache@v3
19+
uses: actions/cache@v4
2020
with:
2121
path: ~\AppData\Local\pip\Cache
2222
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
2323
restore-keys: |
2424
${{ runner.os }}-pip-
2525
2626
- name: Checkout source files
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030

@@ -39,7 +39,7 @@ jobs:
3939
shell: cmd
4040

4141
- name: Upload test artifacts
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: firmware-dev-${{github.run_number}}
4545
path: |

0 commit comments

Comments
 (0)