Skip to content

Commit 5630c05

Browse files
committed
Change riot release to git
1 parent 1ed86ae commit 5630c05

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/actions/riot/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ runs:
77
id: cache-riot
88
uses: actions/cache@v4
99
with:
10-
path: /opt/RIOT-${{env.RIOT_VERSION}}
10+
path: ${{env.RIOTBASE}}
1111
key: riot-${{env.RIOT_VERSION}}
1212

1313
- name: Install RIOT
1414
if: steps.cache-riot.outputs.cache-hit != 'true'
1515
run: |
16-
wget -q "https://github.com/RIOT-OS/RIOT/archive/refs/tags/${{env.RIOT_VERSION}}.tar.gz"
17-
tar xvf "${{env.RIOT_VERSION}}.tar.gz" --directory /opt/
16+
git clone -b ${{env.RIOT_VERSION}}-branch git@github.com:RIOT-OS/RIOT.git ${{env.RIOTBASE}}
1817
shell: bash

.github/workflows/riot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
image: riot/riotbuild:latest
1212
env:
1313
RIOT_VERSION: "2024.07"
14-
RIOTBASE: "/opt/RIOT-2024.07"
14+
RIOTBASE: "/opt/riot-2024.07"
1515
env:
1616
RIOT_VERSION: "2024.07"
17-
RIOTBASE: "/opt/RIOT-2024.07"
17+
RIOTBASE: "/opt/riot-2024.07"
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3

0 commit comments

Comments
 (0)