Skip to content

Commit 5b1c5b7

Browse files
authored
Merge pull request #28 from bordeux/fix/fix-triggers
fix(ci): correct bash indirect variable expansion for token lookup
2 parents 9b4429e + cafb472 commit 5b1c5b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ jobs:
369369
RPM_REPO_TOKEN: ${{ secrets.RPM_REPO_TOKEN }}
370370
ARCH_REPO_TOKEN: ${{ secrets.ARCH_REPO_TOKEN }}
371371
run: |
372-
TOKEN="${!${{ matrix.token_env }}}"
372+
TOKEN_VAR="${{ matrix.token_env }}"
373+
TOKEN="${!TOKEN_VAR}"
373374
curl -X POST \
374375
-H "Authorization: token $TOKEN" \
375376
-H "Accept: application/vnd.github.v3+json" \

0 commit comments

Comments
 (0)