mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
gh-actions: release-tests: properly configure GH token for sudo
This commit is contained in:
parent
2a3fbf38f6
commit
d06c532410
6
.github/workflows/release-test.yml
vendored
6
.github/workflows/release-test.yml
vendored
@ -54,7 +54,11 @@ jobs:
|
||||
steps:
|
||||
- name: Generate .riotgithubtoken
|
||||
run: |
|
||||
echo '${{ secrets.RIOT_CI_ACCESS_TOKEN }}' > ~/.riotgithubtoken
|
||||
if [ -z "${{ matrix.sudo }}" ]; then
|
||||
echo '${{ secrets.RIOT_CI_ACCESS_TOKEN }}' > ~/.riotgithubtoken
|
||||
else
|
||||
sudo sh -c "echo '${{ secrets.RIOT_CI_ACCESS_TOKEN }}' > ~/.riotgithubtoken"
|
||||
fi
|
||||
- name: Setup IoT-LAB credentials
|
||||
if: ${{ matrix.pytest_mark == 'iotlab_creds' }}
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user