Skip to content

Commit 8fc106d

Browse files
committed
Add access key secret
1 parent 8bc0e8d commit 8fc106d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-firmware.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
19+
20+
- name: Create access key header
21+
run: |
22+
cat > Core/Lib/picovoice/include/pv_access_key.h << 'EOF'
23+
#ifndef ACCESS_KEY_H
24+
#define ACCESS_KEY_H
25+
26+
// Picovoice Access Key
27+
#define PV_ACCESS_KEY "${{ secrets.PV_ACCESS_KEY }}"
28+
29+
#endif
30+
EOF
1931
2032
- name: Build Docker image
2133
run: |

0 commit comments

Comments
 (0)