Skip to content

Commit bbab1f7

Browse files
committed
ci: fix AWS credentials requirements
1 parent 4402664 commit bbab1f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .github/workflows/package_core.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
path: ${{ env.CORE_ARTIFACT }}.tar.bz2
6161

6262
test-core:
63-
name: Test arduino:zephyr:${{ matrix.board }}
63+
name: Test ${{ matrix.board }} board
6464
runs-on: ubuntu-latest
6565
needs: package-core
6666
strategy:
@@ -83,7 +83,7 @@ jobs:
8383
mkdir Blink/
8484
wget -nv https://raw.githubusercontent.com/arduino/arduino-examples/refs/heads/main/examples/01.Basics/Blink/Blink.ino -P Blink/
8585
86-
- name: Compile Blink for ${{ env.FQBN }}
86+
- name: Compile Blink for ${{ matrix.board }}
8787
uses: pillo79/compile-sketches@main
8888
with:
8989
fqbn: ${{ env.FQBN }}
@@ -170,6 +170,8 @@ jobs:
170170

171171
- name: Configure AWS credentials
172172
uses: aws-actions/configure-aws-credentials@v4
173+
permissions:
174+
id-token: write
173175
with:
174176
role-to-assume: ${{ secrets.IAM_ROLE }}
175177
aws-region: ${{ secrets.AWS_REGION }}

0 commit comments

Comments
 (0)